Linux "touch" equivalent for Windows?

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


> at the forum
> http://forums.runrev.com/phpBB2/viewtopic.php?t=2001&highlight=&sid=f998647e2d
> 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 sonsothunder.com
Web Site: http://www.sonsothunder.com/





More information about the use-livecode mailing list