Re: Date attribute of a file

new topic     » goto parent     » topic index » view thread      » older message » newer message

Juergen Luethje wrote:
> 
> Craig Welch wrote:
> 
> > Is there any way with Euphoria that I can write read a file, modify it, 
> > and write it back *without* changing the date?
> 
> You'll have to save the "time stamp" of the concerning file before writing to
> it, and at the end that time stamp must be restored.
> This can't be done with built-in Euphoria routines, but you can use the
> concerning API functions of the operating system. If you are using Windows,
> look at this program:
> <<a
> href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?win=on&keywords=filedt.zip">http://www.rapideuphoria.com/cgi-bin/asearch.exu?win=on&keywords=filedt.zip</a>>
> 
> Regards,
>    Juergen

I'm curious as to why you would need to do this.  I've found that using time
stamps can efficiantly answer many questions when debugging a complex app under
development.  Malicious intent?  Why should the time stamp matter?

-- Brian

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu