Re: Date attribute of a file

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

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:
<http://www.rapideuphoria.com/cgi-bin/asearch.exu?win=on&keywords=filedt.zip>

Regards,
   Juergen

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

Search



Quick Links

User menu

Not signed in.

Misc Menu