Batch to check if a single file is modified
Solved/Closed
Related:
- Batch to check if a single file is modified
- Windows 10 iso file download 64-bit - Download - Windows
- How to check if someone is spying on my whatsapp - Guide
- Check soft - Download - Finance
- Kmspico zip file download - Download - Other
- Ping batch file output to text - Guide
1 response
This solution works on my Win XP Home Edition where the date format is: "DD/MM/YYYY"
@echo off for %%F in (C:\TEST\myfile.avi) do (for /F %%D in ("%%~tF") do (set mdate=%%D)) for /F "tokens=1" %%D in ('date/t') do set cdate=%%D echo cdate="%cdate%" mdate="%mdate%" current dir=%cd% if "%cdate%"=="%mdate%" start myprogram.bat