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
|
@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%
|
||||||
|
|
||||||
|
|
|
@ -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%
|
||||||
|
|
Loading…
Reference in New Issue