purrforce/touch.bat

9 lines
189 B
Batchfile

@echo off
REM copy /b %* +,,
IF EXIST %1 (
type %1 >temp.tou
move temp.tou %1
) ELSE (
REM echo ERROR cannot find '%1' file, use double quotes or check path
copy /b NUL %1
)