Assume "plain.txt" is a file.
In v2.078 DirExist("plain.txt") returns blank.
In v2.080 DirExist("plain.txt") returns A.
If I do on 2.080 DirExist("plain*") and there's no folder with that match, but there's a file, it returns blank, whereas FileExist("plain*") returns A.
Is DirExist(Pattern) bugged for direct file names?
As per the documentation "FileExist searches for both files and folders, whereas DirExist searches only for folders"
There's a "Fixed DirExist(pattern) to skip over files matching the pattern." in the alpha changes. Is this to be interpreted as DirExist is the same as FileExist with direct names, but that it only looks for a matching folder thoroughly when using * ?
Discuss the future of the AutoHotkey language
2 posts • Page 1 of 1
Fixed in v2.0-a081.
Who is online
Users browsing this forum: No registered users and 3 guests