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
what's wrong with the ads api of batch requests?
Display the contents of a .txt in a batch file?
.bat rename files name remove first x characters and last x characters
Check UAC status
Deleting folders present on remote machine using batch file
Append String to file name in dos Syntax Error Need
Referencing all files in a folder and its subfolders of a certain type
How to add quests in Batch RPG [closed]
Skip characters or extract substring from string variable in batch for comparison?
Batch script to make backup folder. only new and modified files
If Exist And Else in batch
batch file : stop a processes
NSIS compiler and parameters
Batch File that updating file with every new file added to a folder
What does =/xyz like expressions for Batch File
Conditional execution (IF, ELSE) NOT WORKING