Tests whether the specified path is existing file
#include <WinAPIFiles.au3>
_WinAPI_FileExists ( $sFilePath )
$sFilePath | The path to the file to test. |
Success: | 1 - The path is an existing file. |
Failure: | 0. |
The function sets the @extended flag to 1 if the specified path is an existing directory (not a file).
#include <WinAPIFiles.au3>
ConsoleWrite(@ScriptName & ' exists : ' & _WinAPI_FileExists(@ScriptFullPath) & @CRLF)