Click here to return to the KiXtart HelpDesk main page...

KiXtart Command Reference

EXIST

action

Checks for the existence of one or more files.

syntax

EXIST ("file name")

parameters

File name

Identifies the file(s) you want to locate.

remarks

Supports wildcards.

returns

0

File not found

1

File found

examples

IF EXIST (@LDRIVE + “\users.txt")

    DISPLAY @LDRIVE + “\users.txt"

ENDIF

IF EXIST (@LDRIVE + “\*.INI")

    ; Etc, etc.

ENDIF