Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
@rem $Id: cp.bat,v 1.3 2002/02/21 22:24:51 giles Exp $
2
@echo off
3
if "%2"=="." goto ne
4
if exist _.tmp erase _.tmp
5
rem	Both of the following lines are necessary:
6
rem	the first one works on MS DOS and Windows 95/98 but not Windows NT,
7
rem	the second works on Windows NT but not the other MS OSs.
8
rem > _.tmp
9
copy nul: _.tmp > nul:
10
copy /B %1+_.tmp %2
11
erase _.tmp
12
goto x
13
:ne
14
copy /B %1 %2
15
:x