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
837 B
25 lines
837 B
@if "%_NTDRIVE%"=="" goto notdef
|
|
%_NTDRIVE%
|
|
if not "%BASEDIR%"=="" (cd %BASEDIR%\PUBLIC || goto dirfail)
|
|
if "%BASEDIR%"=="" (cd \NT\PUBLIC || goto dirfail)
|
|
net use z: /d
|
|
net use z: \\NTFREE\SOURCES
|
|
@if errorlevel 1 goto netfail
|
|
tc /irt z:\public\oak .\oak
|
|
tc /irt z:\public\sdk\bin .\sdk\bin
|
|
tc /irt z:\public\sdk\lib\i386 .\sdk\lib\i386
|
|
chmode -r .\sdk\lib\coffbase.txt
|
|
copy z:\public\sdk\lib\coffbase.txt .\sdk\lib
|
|
tc /irt z:\public\sdk\inc .\sdk\inc
|
|
tc /irt z:\public\tools .\tools
|
|
@goto done
|
|
:netfail
|
|
@echo ERROR: Unable to establish connection to \\NTFREE\SOURCES
|
|
@goto done
|
|
:dirfail
|
|
@echo ERROR: Unable to locate target subtree
|
|
@goto done
|
|
:notdef
|
|
@echo ERROR: _NTDRIVE environment variable is not defined
|
|
@goto done
|
|
:done
|