Use absolute paths in bat

This commit is contained in:
John Zhao
2018-06-07 21:40:41 +08:00
parent 09fb4c04df
commit ee6d9f5a3b
2 changed files with 20 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ if "%MY_PATH_SET_@__exe_name@%"=="" (
set "PATH=@__dll_search_paths@;%PATH%"
)
cd "%MY_DIR%"
::cd "%MY_DIR%"
"%MY_DIR%@__exe_name@.exe" %*
cd "%MY_PWD%"
::cd "%MY_PWD%"
::pause >nul