I'm trying to create a batch script that will open a program in a different environment (so I can make a portable version of it).
I use this
set APPDATA=%CD%\data to tell it to do that. The problem I'm facing is that I get the following error when the batch starts:
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
I want to, instead use the
cd command to change it to the batch directory. Is there an easy way to do this?