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