I'm not sure if this is a psexec issues or maybe just the way cmd.exe handles this
If I run
cmd.exe /c "set uname=tester"
then type this to get the output of that above I get
Echo %uname%
%uname%
I expect to get
Echo %uname%
tester
Can anyone see what I am doing wrong?
If I run
cmd.exe /c "set uname=tester"
then type this to get the output of that above I get
Echo %uname%
%uname%
I expect to get
Echo %uname%
tester
Can anyone see what I am doing wrong?