purrforce/touch.bat

9 lines
189 B
Batchfile
Raw Permalink Normal View History

2024-03-20 00:48:21 +00:00
@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
)