Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting USER env variable , then starting process that uses it.

Status
Not open for further replies.

mi294r3

MIS
Dec 2, 2002
31
US


I have a Windows 2000 desktop application which requires a USER environment variable to be changed every time you use it. I have a VBscript that will change the env varirable but if I start the application in the script it does not recognize the new value of the USER varirable.
If I start the application after the VBscript ends it recognizes the USER variable. Is there a way to get the application to recognize it when executed from within the VBscript.

JRjr [borg2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top