Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: cwd current working directory
Then if you change the directory in your script with a DirGet() and run the script again within the same session, you'll notice that the current working directory has been changed to that default cwd next time around as well, when you run the script in this session, until you close out Winbatch Studio.
The script is getting the default from WinBatch Studio, and WinBatch Studio's working directory can be modified by running a script that has a DirChange (and also other functions) in it.
It's best to not assume anything about working directories. If it matters, set it to what you need it to be.
Article ID: W14755
Filename: DirGet returning Winbatch System Subdir.txt
File Created: 2000:08:07:17:06:22
Last Updated: 2000:08:07:17:06:22