batch files now base their root path off of their current directory
This commit is contained in:
parent
cd4bc23da7
commit
5aa4391ea6
|
@ -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%
|
||||
|
||||
|
|
|
@ -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%
|
||||
|
Loading…
Reference in New Issue