Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルを 1 つだけ含む特別なディレクトリがあります。
ファイルの名前や拡張子の種類は異なる場合がありますが、その場所は常に同じディレクトリです。
この情報に基づいて、ファイルを起動 (トリガー) するにはどうすればよいですか
私はVB.netを使用しています
Directory.GetFiles()またはDirectoryInfo.GetFiles()メソッドは、ディレクトリ内にあるファイルを見つけるのに役立ちます。
Directory.GetFiles()
DirectoryInfo.GetFiles()
ファイルを実行しようとしていると仮定すると、Process.Start()おそらく探しているものです。
Process.Start()
いずれかで問題が発生した場合は、状況と何をしようとしているのかについて、より詳細な情報を提供する必要があります。