>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.

And on Mac, what do we do with the resource fork and Finder attributes?

Maybe we should consider suggesting "copy file" and "move file" commands?



- Richard Gaskin 
  Fourth World
  Multimedia Design and Development for Mac, Windows, UNIX, and the Web
  _____________________________________________________________________
  [EMAIL PROTECTED]                 http://www.FourthWorld.com
  US: 800-288-5825         Int'l: 323-225-3717        Fax: 323-225-0716

Reply via email to