Teste si le nom complet spécifié est un fichier existant
#include <WinAPIFiles.au3>
_WinAPI_FileExists ( $sFilePath )
$sFilePath | Le chemin d'accès au fichier à tester. |
Succès: | Retourne 1 - Le chemin est un fichier existant. |
Échec: | Retourne 0. |
La fonction définit @extended à 1 si le chemin d'accès spécifié est un répertoire existant (pas un fichier).
#include <WinAPIFiles.au3> ConsoleWrite(@ScriptName & 'exists : ' & _WinAPI_FileExists(@ScriptFullPath) & @CRLF)