ISDIR
b = ISDIR (dir)
Returns true if the string dir
is a directory.
Example
print IsDir("C:\users") ' Output 1 on Windows, otherwise 0
print IsDir("/home") ' Output 1 on Linux, otherwise 0
Code samples using ISDIR
b = ISDIR (dir)
Returns true if the string dir
is a directory.
print IsDir("C:\users") ' Output 1 on Windows, otherwise 0
print IsDir("/home") ' Output 1 on Linux, otherwise 0