[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: File Related Functions



To use the DELETE command:

LET #RETURN_CODE = DELETE($FILE_NAME) !$FILE_NAME --> full path and file name.

To use the EXISTS command:

LET #RETURN_CODE = EXISTS($FILE_NAME)

#RETURN_CODE  = 0 indicates file exists
#RETURN_CODE <> 0 file does not exist

I am not sure about the RENAME command.