FSpDirCreate
FSpDirCreate Create a new directory
#include <Files.h> File Manager
OSErr FSpDirCreate(spec, scriptTag , createdDirID);
FSSpec *spec; a pointer to an FSSpec record
ScriptCode scriptTag ; identifies the script system code
long * createDirID; points to the ID of the new directory
returns Error Code; 0=no error
FSpDirCreate creates a new empty directory.
spec is a pointer to an FSSpec record identifying the new directory
scriptTag identifies the script system code
createDirID; on return, will identify the new directory
Returns: an operating system Error Code. It will be one of:
noErr (0) No error
bdNamErr (-37) Bad name
dirFulErr (-33) Directory full
dirNFErr (-120) Directory not found
dupFNErr (-48) Duplicate filename (rename)
extFSErr (-58) External file system
ioErr (-36) I/O error
nsvErr (-35) No such volume
vLckdErr (-46) Volume is locked
wPrErr (-44) Diskette is write-protected

Notes: The FSpDirCreate function creates a new directory. It is a high-level,
FSSpec version of PBDirCreate.