[comp.sys.mac.programmer] Moving a file

aruigrok@bnr.ca (Adrian C Ruigrok) (04/04/91)

Hmmmmm,
I am trying to just move a file from one directory to another.  I thought it
might be as simple as doing a getFileInfo, changing the directory ID in the
param block and then doing a setFileInfo.  No chance. Directory not found
error.

So could someone send me a snippet of code that will do a move from one
directory to another.  More generally I could probably use some examples that
use the low level file calls to muck around with files.  Any ideas?  Lots of
example use the high level calls, and some even do rudimentary things with the
low level calls, but in general learning this stuff has been an up hill battle.

Thanks in advance
Adrian
-----------------------
aruigrok@bnr.ca