FileExists

Top  Previous  Next

function FileExists(sFileName As String) As Boolean

 

FileExists returns TRUE if the file specified by sFileName exists. If the file does not exist, FileExists returns FALSE.

 

Parameters

 

sFileName ... String expression. Absolute path and filename.

 

Example:

If FileExists("e:\exp\template.rss") Then

   ' actions...

End If




Translate document: