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.
You can specify "the current directory" simply as ., for example:
.
"C:\Program Files\7-Zip\7z.exe" a -mx9 archive.7z . -psecret -mhe=on xcopy archive.7z "G:\My Documents\My Dropbox\" /c /d /s /e /k /y
It's just a more complicated case of doing something as easy as dir .
dir .