batch files now base their root path off of their current directory

This commit is contained in:
Peter Slattery 2020-01-20 23:32:50 -08:00
parent cd4bc23da7
commit 5aa4391ea6
2 changed files with 4 additions and 6 deletions

View File

@ -1,8 +1,7 @@
@echo off
set ProjectDevRoot=C:\projects\test
set ProjectName=Lumenarium
set ProjectDevPath=%ProjectDevRoot%\%ProjectName%
set ProjectDevFolder=%~dp0
set ProjectDevPath=%ProjectDevFolder:~0,-1%
pushd %ProjectDevPath%

View File

@ -1,8 +1,7 @@
@echo off
set ProjectDevRoot=C:\projects\test
set ProjectName=Lumenarium
set ProjectDevPath=%ProjectDevRoot%\%ProjectName%
set ProjectDevFolder=%~dp0
set ProjectDevPath=%ProjectDevFolder:~0,-1%
pushd %ProjectDevPath%