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.
アプリケーションがコンソールから起動されたか、「エクスプローラー」から起動されたかを検出するにはどうすればよいですか?
私がやりたいのは、アプリケーションがCMDから起動された場合、CMDに関する小さな情報を表示することです。アプリケーションがCMDから起動され、引数がない場合にのみ、引数を検出できません。
プロジェクトは Windows フォームです。