There not exist that option, but you can try using pushd and popd between the call to rebuild like this:
Code: Select all
Pushd "some_directory"
Call :Rebuild "file.ext"
Popd
[code]
Code: Select all
Pushd "some_directory"
Call :Rebuild "file.ext"
Popd
[code]
Code: Select all
@ECHO OFF
ECHO LINE 1
FOR /F %%E IN (
'"PROMPT $E &FOR %%_ IN (_) DO REM CURSOR 0 BY @CARLOS"'
) DO <NUL SET /P "=%%E[1;1H"
ECHO LINE 2
PAUSE
Code: Select all
https://www.amazon.com/Ultimate-Batch-File-Book-Rom/dp/0079120504