Rev 922 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
880 | dimkam | 1 | @echo off |
2 | if not exist %CD% ( |
||
930 | alone | 3 | echo Error: No spaces allowed in the path! |
880 | dimkam | 4 | pause |
5 | exit |
||
6 | ) |
||
930 | alone | 7 | if NOT "%settedpath%"=="" exit /b |
242 | dimkam | 8 | set settedpath=1 |
289 | dimkam | 9 | call :ExpandRootDir %~dp0..\.. |
930 | alone | 10 | set path=%rootdir%\tools\;%rootdir%;%rootdir%\us\;%rootdir%\src\_sdk\;%rootdir%\src\nedolang\_sdk\;%PATH% |
289 | dimkam | 11 | exit /b |
242 | dimkam | 12 | |
289 | dimkam | 13 | :ExpandRootDir |
930 | alone | 14 | set rootdir=%~f1 |
15 | exit /b |