On Sep 17, 2008, at 2:06 AM, Robert Purves wrote:
> Several list members are in a quandary about file handling
To further assist with file/directory handling, file/directory
functions are being built to handle most common tasks. They work with
either FSSpec, FSRef or CFURLRefs
For example, for the following requirements
- look for a folder "My Test ƒ" on the user's Desktop
- if not found create it ( else use existing )
- look for file "MyLogFile abcdefghijklmnopqrstuvwxyz.txt"
- if not found create it as a plain text file ( else use existing
file )
Not counting opening and writing the file, the above steps can be
accomplished in three (3) lines of code using the file/directory
functions.
The file/directory functions are nearing completion and should be
available soon.
Brian S.