Valid on NetWare, Symbian OS, UNIX, Windows and Windows CE
The Is_Dir function checks the file for the specified attribute.
Function format:
Is_Dir(filename as String) as Boolean
Identifies a file path.
Use the correct syntax for file names and directory names. For example, C:\WINNT is a file name, not a directory name. The syntax for a directory is C:\WINNT\*.
This function returns TRUE if the file is a directory; otherwise, it returns FALSE.
Example:
If Is_Dir(Argv(1)) Then print(Argv(1) + " indicates 'Dir'.") Else print(Argv(1) + " does not indicate 'Dir'.") End If
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|