batch file- exception on first of every month
I have a batch file which deletes last modified record every day. But I want to create condition like it should delete only if last modified date is other than 1st of every month. Below is the code which I'm using to run batch everyday. #echo off pushd "E:\Sales" for /f "eol=: delims=" %%F in ('dir /b /a-d /o-d') do ( if() del "%%F" exit /b ) Thanks in Advance
How can I get the value of a registry key using a batch script?
Batch File Ending Prematurely
Kill MSAccess process via batchfile
Batch Script to shut down computer after 1 minute [closed]
What does # mean in Windows Batch scripts?
Having for loop reference findstr result, moving two lines down to grab variable
Batch dialogue to choose directory to run batch?
Almost there… Need to find and replace. Using for loop
Exclude a folder inside temp when executing a del batch file
Asterisk not working in for loops
EQU was unexpected at this time?
Placing 2 for loops inside a findstr inside another for loop
batch file START command without /WAIT
Batch file ftp example using active connection
Forfiles is not working in batch file but it is working in command line
How do I pass values to an non-command line executable with a batch file?