Looking for:
Windows 10 batch file current directory free.DoS – Current Directory

However, these filenames or directory names require quotation marks around them when they are specified in a command prompt operation. If you do: pushd \windows && foobar && popd. you’ll be left (as you state) in the \windows folder. Try: pushd \windows & foobar & popd. This command also displays the total number of files and directories listed, their cumulative size, and the free space (in bytes) remaining on.
Get current batchfile directory.windows – Temporarily change directory for single batch-file command – Super User
replace.me › Windows However, these filenames or directory names require quotation marks around them when they are specified in a command prompt operation. It is the directory from where you start the batch file. E.g. if your batch is in c:\dir1.