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

File Creation date

 [1/4] from: tmoeller::fastmail::fm at: 14-Oct-2005 13:15


Hi, is there a way in REBOL to find out the date, when a file was created? Like "modified?" ??? Thanks Thorsten ------ Thorsten Moeller Schwalbenweg 5a 22453 Hamburg Fon: 040 / 589 17 980 Mobil: 0171 / 490 33 59 Mail: [tmoeller--fastmail--fm] -- http://www.fastmail.fm - Faster than the air-speed velocity of an unladen european swallow

 [2/4] from: gabriele:colellachiara at: 14-Oct-2005 13:20


Hi Thorsten, On Friday, October 14, 2005, 1:15:40 PM, you wrote: TM> is there a way in REBOL to find out the date, when a file was created? TM> Like "modified?" ???
>> get-modes %rebol.exe 'file-modes
== [creation-date access-date modification-date owner-write archived hidden system]
>> get-modes %rebol.exe 'creation-date
== 8-Jun-2005/13:20:37+2:00 Regards, Gabriele. -- Gabriele Santilli <[gabriele--rebol--com]> --- http://www.rebol.com/ Colella Chiara software division --- http://www.colellachiara.com/

 [3/4] from: tmoeller:fastmail:fm at: 14-Oct-2005 14:08


Hi Gabriele, thats great! Works very well! Thanks a lot! Perhaps you can help me with my second problem as well. I have Characters like @ or $ in my filenames ([this--is]$a_test.txt). How can i make rebol reading these files, not thinking it is an email?? Cheers Thorsten On Fri, 14 Oct 2005 13:20:09 +0200, "Gabriele Santilli" <[gabriele--colellachiara--com]> said:
> Hi Thorsten, > On Friday, October 14, 2005, 1:15:40 PM, you wrote:
<<quoted lines omitted: 14>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- http://www.fastmail.fm - Same, same, but different=85

 [4/4] from: gabriele::colellachiara::com at: 14-Oct-2005 15:03


Hi Thorsten, On Friday, October 14, 2005, 2:08:16 PM, you wrote: TM> Perhaps you can help me with my second problem as well. I have TM> Characters like @ or $ in my filenames ([this--is]$a_test.txt). TM> How can i make rebol reading these files, not thinking it is an email??
>> %this%40is%24a_test.txt
== %[this--is]$a_test.txt :-) Alternatives:
>> %"[this--is]$a_test.txt"
== %[this--is]$a_test.txt
>> to file! "[this--is]$a_test.txt"
== %[this--is]$a_test.txt The only problem is that MOLD doesn't seem to do the right thing here (should output %40 instead of @), so if you need to save the file name and then load it back you'd run into problems. Regards, Gabriele. -- Gabriele Santilli <[gabriele--rebol--com]> --- http://www.rebol.com/ Colella Chiara software division --- http://www.colellachiara.com/

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted