Linux "touch" equivalent for Windows?

Phil Davis revdev at pdslabs.net
Wed Aug 20 13:54:59 EDT 2008


Thanks guys!


Ken Ray wrote:
>> 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/
-- 
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net




More information about the use-livecode mailing list