[REBOL] SV: File date
From: micael:gullmes:telenor:se at: 25-Oct-2002 9:52
Hi Louis,
the following (non tested) code should do the trick:
old_modes: get-modes %oldfile.txt [creation-date modification-date]
rename %newfile.txt %oldfile.txt
set-modes %newfile.txt old_modes
see http://www.rebol.com/docs/core25.html for more info on modes.
Brgds /Micael
-----Ursprungligt meddelande-----
Fr=E5n: Louis A. Turk [mailto:[louisaturk--coxinet--net]]
Skickat: den 25 oktober 2002 08:31
Till: [rebol-list--rebol--com]
=C4mne: [REBOL] File date
Hi rebols,
How can I change the name of a file without changing its date?
Louis