FileExists 支不支持通配符*
如题。。。 这么简单的问题自己测试就知道了 If FileExists("C:\*.txt") ThenMsgBox(4096, 0, "y")
Else
MsgBox(4096, 0, "no")
EndIf
If FileExists("C:\*r.txt") Then
MsgBox(4096, 0, "y")
Else
MsgBox(4096, 0, "no")
EndIf
If FileExists("C:\*.exe") Then
MsgBox(4096, 0, "y")
Else
MsgBox(4096, 0, "no")
EndIf
回复 1# suntech
为什么不自己试试那?随便建个文件夹,文件试试. MsgBox是很好的测试工具 Msgbox Consolewrite 测试时都很好用 要是能像C#一样 可以设置断点 可以实时查看变量值就好了。 同意,Consolewrite 测试时也很好用
页:
[1]