FileExist and UNC root path
Posted: 25 Aug 2017, 19:04
Hi,
Is this normal that the FileExist function returns an empty string (= false) when checking for the existence of the root of an UNC path? Any reason for this?
For example:
Is this normal that the FileExist function returns an empty string (= false) when checking for the existence of the root of an UNC path? Any reason for this?
For example:
Code: Select all
#SingleInstance force
MsgBox, % FileExist("\\127.0.0.1") ; returns empty (= false)
MsgBox, % FileExist("\\127.0.0.1\") ; returns empty (= false)
MsgBox, % FileExist("\\127.0.0.1\Users\") ; returns "RD" (= true)
MsgBox, % FileExist("C:\") ; returns "SHD" (= true)