Linux "touch" equivalent for Windows?

Ken Ray kray at
Wed Aug 20 13:01:57 EDT 2008

> at the forum
> 9247de0adb5675a6e0f475
> "keyless" posted an answer to you question.
> This should work
> copy /y nul <filename.extension>
> I did not test it, but it seems to be feasible.

DON'T DO THIS! This changes the last mod date, alright, but it also wipes
the file clean... what you're doing is saying "make a copy of this file with
nothing in it and overwrite the file of this name".

Danger, Will Robinson... Danger!...


Ken Ray
Sons of Thunder Software, Inc.
Email: kray at
Web Site:

More information about the use-livecode mailing list