xbox-kernel/public/oak/bin/nti386cp.cmd
2020-09-30 17:17:25 +02:00

18 lines
326 B
Batchfile

@echo off
setlocal
set _target=%_NT386TREE%
if "%3" == "" goto rootcopy
if "%3" == "LIBS" goto docopylib
binplace -d %3 %1
goto done
:rootcopy
binplace -d . %1
goto done
:docopylib
set _target=%_NT386LIBS%
echo Copying %1 to %_target%
if NOT EXIST %_target%\. mkdir %_target%
copy %1 %_target%
:done
endlocal