| www.rodneybeede.com | "I would love to change the world, but they won't give me the source code" - unknown |
%~D0
CHDIR %~DP0
The first line causes the script to change to the drive where the script is located.
The second line causes the script to change to the directory where the script is located.
See Call command for further information.