Hi Ashley, On Thursday, May 30, 2002, 3:04:15 AM, you wrote:
ahca> You can use 'rename to rename files in the same directory (eg. rename ahca> %/c/view/a.txt %b.txt), but must do a copy/delete if the rename (actually a ahca> move) spans directories. Actually it depends on the platform I think. >> system/version == 1.2.1.3.1 >> make-dir %test/ == %test/ >> write %testfile "Test" >> rename %testfile %test/testfile >> read %testfile ** Access Error: Cannot open /C/rebol/Script/testfile ** Where: halt-view ** Near: read %testfile >> read %test/testfile == "Test" IIRC I used it successfully on Linux too. Of course, this does not work if you are moving the file between different disks. Regards, Gabriele. -- Gabriele Santilli <[EMAIL PROTECTED]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
