AFAIK, you can't do this, because as soon as the command interpreter closes,
your registration dies with it, i.e. it's local to your instance. However,
you might want to take a look here:
http://68.9.218.222:10081/default.aspx
--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Greg" <Gr**@discussions.microsoft.com> wrote in message
news:12**********************************@microsof t.com...
Is there a way to set a environment variable in vb. like the following
command in dos:
set myserver=srv123456
I have tried using shell("cmd.exe /c set myserver=srv123456", appfochide,
true)
any help would be great.