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.
特定のファイルが更新された場合にバッチ ファイルにアラートを表示させたいのですが、コードに対して何をすべきかわかりません。
モニタリングを(再開)したいとき
for %%i in (filename) do set snapshot=%%~ti
ファイルが更新されたかどうかを確認したい場合は、
for %%i in (filename) do if not "%snapshot%"=="%%~ti" ECHO file was updated