|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > File > FileExists |
available from build: 20140416 |
This command checks the existence of a given file.
call DBWShell("FileExists FullFilePath")
FullFilePath |
the full path name of the file to check the existence of |
This command is DBWAclServer compliant
@OK_FILE_EXISTS |
1: if the file exists |
DBWShell("FileExists c:\temp\file1.doc")
res = DBWResult("@OK_FILE_EXISTS")
if res then
dbwmsgbox "The file exists"
else
dbwmsgbox "The file doesn't exist"
end if