Verifies that a path is a valid directory
#include <WinAPIFiles.au3>
_WinAPI_PathIsDirectory ( $sFilePath )
$sFilePath | The path to verify. |
True: | $FILE_ATTRIBUTE_DIRECTORY if the path is a valid directory. |
False: | is not a valid directory. |
Search PathIsDirectory in MSDN Library.
#include <WinAPIFiles.au3>
ConsoleWrite(@ScriptDir & ' exists : ' & _WinAPI_PathIsDirectory(@ScriptDir) & @CRLF)