Discussion in 'Rebol' started by Ken, Mar 21, 2010.
How do you move, delete and rename directories in Rebol 3?
Have you tried
Yes, rename comes up with an error in Rebol 3: ** Script error: cannot use rename on port! value
delete works on individual directories but not nested directories and
I cannot see anyway to move directories, or files come to that
If the facility does not exist in the OS, then Rebol won't implement file/directory operations.
'rename works for me using alpha 96.
I am using Alpha 97 and it definitely does not rename directories but comes up with the port error as specified above.
Also renaming a file in a directory and not specifying the destination directory, creates a copy of the file with the new name in the current directory
and deletes the file from the original directory! Kind of an unofficial move?!
Anyway I think the file renaming function in A97 is bugged.
Thanks for you help Graham.
Ii didn't try renaming directories so if there's an issue, you can log it here http://www.curecode.org/rebol3/
Renaming files is like a move in windows.
Separate names with a comma.