Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

creation date-time of file?

 [1/6] from: sags::apollo::lv at: 30-Jan-2005 23:17


Is it possible to get subj? brgds Janeks

 [2/6] from: SunandaDH:aol at: 30-Jan-2005 16:41


Janeks:
> Is it possible to get subj?
under GNU/Linux, Unix etc, it should be possible with get-modes: http://www.rebol.com/docs/words/wget-modes.html Sunanda.

 [3/6] from: greggirwin:mindspring at: 30-Jan-2005 15:07

Re: [get-modes] Re: creation date-time of file?


>> Is it possible to get subj?
Sac> under GNU/Linux, Unix etc, it should be possible with get-modes: Sac> http://www.rebol.com/docs/words/wget-modes.html That works under Windows as well.
>> get-modes first read %. 'file-modes
== [creation-date access-date modification-date owner-write archived hidden system]
>> get-modes first read %. 'creation-date
== 6-Jan-2005/12:01:13-7:00 -- Gregg

 [4/6] from: tomc::darkwing::uoregon::edu at: 30-Jan-2005 18:11

Re: creation date-time of file?


the Users guide http://www.rebol.com/docs/core23/rebolcore-12.html#section-7.4 in section 7.4 File Modification Date, says: To obtain the last modification date of a file, use the modified? function: print modified? %file.txt 30-Jun-2000/14:41:55-7:00 Not all operating systems keep track of the creation date of a file, so to keep REBOL scripts operating system independent only the last modification date is accessible. On Sun, 30 Jan 2005 sags-apollo.lv wrote:

 [5/6] from: sags::apollo::lv at: 31-Jan-2005 10:52

Re: [get-modes] Re: creation date-time of file?


Thanks! Uups... It seems, that as begginner I should work with docs more by using search... ;-) brgds Janeks On 30 Jan 2005 at 15:07, Gregg Irwin wrote:

 [6/6] from: gabriele::colellachiara::com at: 31-Jan-2005 12:29

Re: creation date-time of file?


Hi Tom, On Monday, January 31, 2005, 3:11:52 AM, you wrote: TC> Not all operating systems keep track of the creation date of a file, so to TC> keep REBOL scripts operating system independent only the last modification TC> date is accessible. Actually,
>> get-modes %rebol.exe 'file-modes
== [creation-date access-date modification-date owner-write archived hidden system]
>> get-modes %rebol.exe 'creation-date
== 5-Apr-2004/10:49:18+1:00 On systems without creation date for files, FILE-MODES will not return the CREATION-DATE mode. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/