At 09.27 -0400 1998.10.12, Kevin Johnson wrote: >but the copying part didn't work: > >FSpCatMove("$filepath", "HD:Desktop Folder:backup folder"); You don't check the error code. All toolbox calls that return errors return it to $^E, which is similar to $!, but for platform-specific errors. FSpCatMove($filepath, "HD:Desktop Folder:backup folder:") or die $^E; Chances are, though, that it is failing because you cannot move across volumes, you can only copy across volumes. Look for the FSpFileCopy() routine in Mac::MoreFiles. Of course, you could just use the move() function from File::Copy, which does exactly that: uses FSpFileCopy() to copy the file, and then deletes the original. >Is there a problem with my syntax? MPPE didn't give a specific example of >using these. It does, however, say to check $^E for error codes. :-) >Also, is there some resources for learning more details and seeing more >examples of the toolbox modules? The book also notes that the authortative reference of All Things Toolbox is Inside Macintosh, the reference from Apple. You can get it in PDF from Apple's website. FSpCatMove is in the Files volume. If you look in Mac::MoreFiles for the documentation for FSpFileCopy, you see it uses the PBHCopyFile routine, which is also documented in the Files volume of IM. Hope this helps, -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch