I have the following BAT file which is intended to archive the specified folder, protect it by a password and copy the archive file to my local Dropbox folder.
%CD% is your current directory. Try echo %CD% in a dos prompt to try it out.
%CD%
echo %CD%