If My.Computer.FileSystem.FileExists("c:\Check.txt") ThenMsgBox("File found.")ElseMsgBox("File not found.")EndIf
My.Computer.FileSystem.DirectoryExists 这个是目录.....