DISK I/O
Test for file or alias
itsAnAlias = ((gPBlk.ioFlUsrWds.fdFlags% AND BIT(15)) <> 0)
There's no particular way I know of to test whether the alias points to a file or a folder (without actually resolving the alias), but it looks like you don't really care which it is anyway.
|