All Questions
6
questions
0
votes
1
answer
2k
views
system variable not set on remote machine by psexec
Need to set-up system variable on remote machine. Performing
psexec \\remote_machine cmd /c setx foo bar
got reply
Success: Entered value was saved
cmd exited on remote_machine with error code 0
...
0
votes
2
answers
97
views
Different behaviour of cmd depending on the form of the path string
In cmd window I can't cd to a directory if it is set by a user environment variable. The variable content is OK.
If I cd to the directory set by the content of the variable, it works OK, too.
Could ...
1
vote
1
answer
2k
views
Git bash and cmd don't load my user account PATH variable
Start up a gitbash or a windows cmd session and run
echo $PATH
or
echo %PATH%
They both print the contents of the system PATH variable, but neither prints the contents of the PATH variable ...
0
votes
2
answers
3k
views
'sample.exe' not recognised as internal or external command, operable program or batch file
Under Environment Variables, I set the path to sample.exe.
I appended the System variable PATH with,
C:\Program Files(x86)\Sample
The sample.exe is in the Sample folder.
Still, I get the above ...
2
votes
1
answer
579
views
Evaluate %PATH% as the system-scope environment variable exclusively
In Windows' command line, echo %PATH% appears to merge the system and the user variables PATH in such order before printing. That seems reasonable, but I would also like to be able to print only the ...
0
votes
1
answer
3k
views
Why are the PATH environment variables handled differently when I run cmd.exe as admin?
Original post:
When I start cmd.exe normally, my PATH variable only contains the paths from the system environment variable. Only when I start cmd.exe as admin does PATH contain a concatenation of ...