Created
May 11, 2021 19:05
-
-
Save paddy74/3dcd9bf97837d323628ec9021a4137e9 to your computer and use it in GitHub Desktop.
Running a batch file from the directory containing the batch file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
PUSHD %~dp0 | |
:: Do some stuff | |
:: Return to the caller directory | |
POPD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment