?login_element?

Subversion Repositories NedoOS

Rev

Rev 922 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. @echo off
  2. if not exist %CD% (
  3.         echo Error: No spaces allowed in the path!
  4.         pause
  5.         exit
  6. )
  7. if NOT "%settedpath%"=="" exit /b
  8. set settedpath=1
  9. call :ExpandRootDir %~dp0..\..
  10. set path=%rootdir%\tools\;%rootdir%;%rootdir%\us\;%rootdir%\src\_sdk\;%rootdir%\src\nedolang\_sdk\;%PATH%
  11. exit /b
  12.  
  13. :ExpandRootDir
  14. set rootdir=%~f1
  15. exit /b