IsFileExit 判断文件 |
|
判断一个文件是否存在 |
|
参数1 字符串型,文件路径 |
|
布尔型,真假 |
|
//下面这句是判断一个文件是否存在返回(IsFile)
IsFile = Plugin.File.IsFileExit("C:\Config.ini")
If IsFile = True Then
Msgbox "目标文件存在"
Else
Msgbox "目标文件不存在"
End If |
|
//下面这句是判断一个文件是否存在返回(IsFile)
Plugin IsFile = File.IsFileExit("C:\Config.ini")
If IsFile = True
Msgbox "目标文件存在"
Else
Msgbox "目标文件不存在"
EndIf |