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
cmd batch need counter to assign unique number to list of files
cmd script with sqlplus not returning any results
How do I call concat : %variable% when the variable has internal spaces?
Can a Batch for loop have an increasing step value?
Batch file to find file, and copy paste it to another location
Batch copying all files without overwriting
How to log output of unfinished / non-responding / hanging command in win7?
Batch file checking firefox is open?
Get the file name from a full or relative path knowing that this one is not a parameter of the batch
How to have a batch file echo an alert if a chosen file is updated while the batch is running?
how to start compass using a batch file
Adding two numbers together in a for loop
Have a .bat autorun when a .exe is called
Batch delete files recursively in folder containing some specific text
Batch script to open text file
Move files from one folder to another folder having the same hierarchy and folder name using batch scripting?