I am trying to test the existence (or otherwise) of one or more files in
a series of Posix files (see below).
Is there a way to do this? I need to "fork" depending on the existence
or otherwise of an instance of a file or files.
All help appreciated.
Regards
Neil
:if finfo("/AMED/DEV/svs001f1.csv","EXISTS")
*** EXPRESSION TRUE
:endif
:if finfo("/AMED/DEV/svs*.csv","EXISTS")
*** EXPRESSION FALSE: COMMANDS IGNORED UNTIL MATCHING ELSEIF/ELSE/ENDIF
:endif
*** RESUME EXECUTION OF COMMANDS
:if finfo("[log in to unmask]","EXISTS")
*** EXPRESSION FALSE: COMMANDS IGNORED UNTIL MATCHING ELSEIF/ELSE/ENDIF
:endif
*** RESUME EXECUTION OF COMMANDS