FSpCatMove
FSSpec * source; is a pointer to a file's name and location before the move
FSSpec *dest; points to the file's name and location after the move FSpCatMove function changes the location of a file or directory. source is a pointer to an FSSpec record specifying the file to be moved. dest is a pointer to an FSSpec record specifying the file's new location. noErr (0) No error
badMovErr (-122) Can't move into offspring
bdNamErr (-37) Bad file name or attempt to move into file
dupFNErr (-48) Duplicate filename (destination file/dir already
exists)
fnfErr (-43) Source file not found
ioErr (-36) I/O error
nsvErr (-35) No such volume
paramErr (-50) Error in user parameter list
vLckdErr (-46) Volume is locked
wPrErr (-44) Diskette is write-protected
function. It moves the file or directory specified by the source parameter to
the destination specified by the dest parameter. The source and dest
parameters specify the name and location of the file or directory before and
after the move.