ExistDir
File management function.
The ExistDir function checks for the existence of the specified directory.
Syntax
ret=ExistDir(<directoryname>)
Parameters
<filename>, string, name of the directory to test. A path can be included in <directoryname>.
Return value
ret, numeric return code; if the directory exists, the return code is set to 1, otherwise 0. If the path specified in <directoryname> is not valid, return code is 0. If <directoryname> is in fact a filename, return code is 0.
See also
Examples
ret=ExistDir(WinDir$())
msgbox(ret)
ret=ExistDir("C:\program files\wintas")
msgbox(ret)