summaryrefslogtreecommitdiffstats
path: root/public/oak/bin/ntmipscp.cmd
blob: 898f1da6670d83e8bca0a8d072a631ad07f93d8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@echo off
setlocal
set _target=%_NTMIPSTREE%
if "%3" == "" goto rootcopy
if "%3" == "LIBS" goto docopylib
binplace -d %3 %1
goto done
:rootcopy
binplace -d . %1
goto done
:docopylib
set _target=%_NTMIPSLIBS%
echo Copying %1 to %_target%
if NOT EXIST %_target%\. mkdir %_target%
copy %1 %_target%
:done
endlocal