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 @echo off
set ProjectDevRoot=C:\projects\test set ProjectDevFolder=%~dp0
set ProjectName=Lumenarium set ProjectDevPath=%ProjectDevFolder:~0,-1%
set ProjectDevPath=%ProjectDevRoot%\%ProjectName%
pushd %ProjectDevPath% pushd %ProjectDevPath%

View File

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