Thursday, September 4, 2008

AHK - Check if a folder exists

Very simple way of checking if a folder exists, and also making sure that it's an actual folder (not just a file without an extension).
If (InStr(FileExist("Path/YourFolder"),"D")
MsgBox Folder exists!
Else
MsgBox Folder doesn't exist
Forum Post

No comments: