If My.Computer.FileSystem.FileExists("C:\TEST\TEST.txt") Then MessageBox.Show("ディレクトリは存在します") Else MessageBox.Show("ディレクトリは存在しません") End If