in reply to Re: Passing file check operators to a function
in thread Passing file check operators to a function
On unix, the same test on a directory name will indicate you can create a file in the directory. You need write permission on the directory inode to insert a new file's metadata. You may want to test -d where -e is tested above, just to verify it's a directory.
I don't know whether the win32 file tests emulate that or not.
After Compline,
Zaxo
|
|---|