|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > File > DBWFolderExists |
Check the existence of a folder.
Function DBWFolderExists(Filename)
Folder path |
It is the path to check existence of |
The function assumes value of
TRUE |
If the folder exists |
|---|---|
FALSE |
otherwise |
path="c:\temp\" 'the path is accepted with or without last backslash
if DBWFolderExists(path) then
DBWmsgbox "The file exists!"
else
DBWmsgbox "Cannot find the specified path."
end if