I\'m new to script writing and can\'t get this one to work. I could if I moved the files to a path without a space in it, but I\'d like it to work with the space if it coul
The easiest way to fix this problem is to put the folder name in quotes:
(cd\New Folder\...) --> (cd\"New Folder"\...)
Hopes this helps.
If you need to store permanent path (path is not changed when cmd is restart)
Run the Command Prompt as administrator (Right click on cmd.exe and select run as administrator)
In cmd
setx path "%path%;your new path"
then enter
Check whether the path is taken correctly by typing path and pressing enter
I use
set "VAR_NAME=<String With Spaces>"
when updating path:
set "PATH=%UTIL_DIR%;%PATH%"