summaryrefslogtreecommitdiff
path: root/common/cp.bat
blob: f40abfdff7311791bc8578c246f46399a419349d (plain)
1
2
3
4
5
6
7
8
9
10
11
@rem $Id$
@echo off
if "%2"=="." goto ne
   if exist _.tmp erase _.tmp
   rem >_.tmp
   copy /B %1+_.tmp %2
   erase _.tmp
goto x
:ne
   copy /B %1 %2
:x