>Hi,
>
>How to copy a file? How to move a file?
>
>I see the commands create, delete, open/close, but not copy...
>
>Best, Guy
To copy a file:
open file "the_path_to_copy of file" for [binary]write -- this creates an
empty file (copy of file)
put url "file/binfile:the_path_to_original file" into var -- puts the
contents of original file into a variable
write var to file "the_path_to_copy of file"
close file "the_path_to_copy of file"
To move a file just write the new file(as described) in the desired
directory with the same name and delete the original.
Regards, Andu