; ----------------------------------------------- #include ; ----------------------------------------------- Example1a() ; ----------------------------------------------- Func Example1a() Local $sFilePath = "E:\Desktop\File1.txt" ; ----------------------------------------------- Local $iFileExists = FileExists($sFilePath) ; ----------------------------------------------- If $iFileExists Then MsgBox($MB_SYSTEMMODAL, "", "The file does exist!") Else MsgBox($MB_SYSTEMMODAL, "", "The file does not exist!") EndIf EndFunc ;==>Example1a ; -----------------------------------------------