Nickker22
Contributor
Contributor

VIX PERL RunProgramInGuest, environment variables question...

I was wondering why certain environment variables aren't getting set.

One environment variable I need is %USERNAME%.

When I have remotely turn on cmd.exe, and I issue the command:

echo %USERNAME%

it returns "%USERNAME%

When I open a new instance of cmd.exe, from the start menu and type in the same command. I get "hbobuild" which was the username I used in the previous step of LoginGuest.

Anybody know why this is happening?

Reply
0 Kudos