Batch to check if a single file is modified
Solved/Closed
Related:
- Batch to check if a single file is modified
- Security check preventing login - Facebook Forum
- Security check preventing log in - Facebook Forum
- Security check preventing - Facebook Forum
- How to open .msi file - Guide
- Windows 10 iso file download - Download - Windows
1 reply
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