Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
812 B

  1. @if "%_NTDRIVE%"=="" goto notdef
  2. %_NTDRIVE%
  3. if not "%BASEDIR%"=="" (cd %BASEDIR%\PUBLIC || goto dirfail)
  4. if "%BASEDIR%"=="" (cd \NT\PUBLIC || goto dirfail)
  5. net use z: /d
  6. net use z: \\NTFREE\SOURCES
  7. @if errorlevel 1 goto netfail
  8. tc /irt z:\public\oak .\oak
  9. tc /irt z:\public\sdk\bin .\sdk\bin
  10. tc /irt z:\public\sdk\lib\i386 .\sdk\lib\i386
  11. chmode -r .\sdk\lib\coffbase.txt
  12. copy z:\public\sdk\lib\coffbase.txt .\sdk\lib
  13. tc /irt z:\public\sdk\inc .\sdk\inc
  14. tc /irt z:\public\tools .\tools
  15. @goto done
  16. :netfail
  17. @echo ERROR: Unable to establish connection to \\NTFREE\SOURCES
  18. @goto done
  19. :dirfail
  20. @echo ERROR: Unable to locate target subtree
  21. @goto done
  22. :notdef
  23. @echo ERROR: _NTDRIVE environment variable is not defined
  24. @goto done
  25. :done