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.
システムの電源投入時間をtxtファイルに書き込むためのバッチコードが必要です。Windowsの電源がオンになった時刻をtxtファイルに書き込む必要があることを意味します。
起動時に短いバッチを実行するスケジュールされたタスクを設定します(必要に応じて、日付と時刻をテキストファイルにエコーし、テキストを少し説明するだけです)
schtasks /create /?
初めて正しい構文を取得するのは少し難しいですが、努力する価値はあります。