locked
if file exists syntax RRS feed

  • Question

  • if file exist

    then

     restore macros

    else

      save macros

    Monday, September 2, 2019 4:54 PM

Answers

  • lc_file = "c:\test.txt"
    IF FILE(lc_file)
      *- File Exist
    ELSE
      *- File doesn't Exist
    ENDIF

    You can also use ADIR

    Tuesday, September 3, 2019 1:15 AM