EXIST function
Purpose: EXIST returns 1 if the filename, folder or UNC path exists.
Syntax: RetVal% = EXIST(FileName$) Parameters:
Return Value:
|
Examples:
IF EXIST(Filename$) THEN ...
IF NOT EXIST(Filename$) THEN ...
PRINT EXIST("\\server\share\file.txt")
BCX Console Sample Programs using EXIST function.