1
1
I am running a script like below, but the environment variable path does not contain C:\tmp inside script.cmd, how to make it available? Os is windows.
cmd.exe /c "set path=%path%;C:\tmp && script.cmd"
EDIT: script.cmd
echo %path%
somefile.exe
After some struggle, echo command working for me, but when I execute some executable which are present in C:\tmp inside script.cmd, I am getting "command not found" error
2Not reproducible. Please [edit] your question to include the contents of
script.cmd
– DavidPostill – 2015-11-13T15:39:11.193Your question is not clear. – Ramhound – 2015-11-13T15:43:37.400
Your command line works Okay for me too, must be something in the script.cmd – pun – 2015-11-13T15:55:29.227