*exist
Description

Check whether a specified file or directory exists. The file or directory must be located on the designated PC or on network directories that are accessible by the WindowsEnabler program on the PC.

Syntax

*exist [/d] <filename>

Parameters

/d

Specify the /d parameter if the existence of a directory has to be checked. Omit the /d parameter if the existence of a file has to be checked

filename

Full-qualified name of the file or directory

Return values

0 File or directory exists

1 Parameter error. No file or directory has been specified on the command line for this command

2 File or directory does not exist

3 A directory with the requested file name was found

4 A file with the requested directory name was found