5.25.6 CHECKFOR

The CHECKFOR command is used to check for the existence of a file or folder on the Windows file server.

If a two-field working list is also used with the command, a list of file/folder attributes are returned.

Syntax:

Command

Keyword

Value

Developer notes

CHECKFOR

SERVER

value

Optional: File server.

DOMAIN

value

Optional. Windows domain.

USER

value

Optional. User.

PASSWORD

value

Optional. Password.

PATH

value

Required. Windows server file for folder.

 

Example

CHECKFOR PATH(/Shared/folder/file.txt)