|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > File > DBWFileExists |
Check the existence of a file.
Function DBWFileExists(Filename)
Filename |
It is the full path file name |
The function assumes value of
TRUE |
If the file exists |
|---|---|
FALSE |
otherwise |
filename="c:\temp\foo.txt"
if DBWFileExists(filename) then
msgbox "The file exists!"
else
msgbox "Cannot find file."
end if