| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Built-in Template Procedures >====== FILEEXISTS (return file existence) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[exists return embed point existence .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[fullname return file path .htm|{{btn_next_n.gif|Next page}}]] | | || **FILEEXISTS(** //file// ) {{blk2blue.jpg|blk2blue.jpg}} | **FILEEXISTS** | Returns TRUE if the //file// is available on disk. | | //file// | An expression containing the DOS filename. | The **FILLEEXISTS** procedure returns true ('1') if the //file// is available on disk. If the //file //is not available, FILEEXISTS returns false (''). **Return Data Type:**     LONG **Example:** **#IF(****FILEEXISTS****(%SomeFile))** **  #OPEN(%SomeFile)** **  #READ(%SomeFile)** **  !some source** **#ENDIF** **See Also:** [[built in template procedures.htm|Built-In Template Procedures]]