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
Batch: Checking for null value and writing a string in its place
How to make a time system in a batch simulation game? [closed]
Convert a simple command from cmd to a batch file
Batch checking the last character
Why is a folder not deleted with RMDIR in batch file as last command?
Batch Script Cant get If statements working
Batch convert .wav files to .mp3 files through sub-directories then delete the remaining .wav files
BATCH - netstat command in IF statement
Environment variable value not set, but why?
Batch File Commands to Remove File from Removable Drive (virus)
psexec error handling multiple computers
How to pass variables from VBScript to batch?
Batch I want input %Something% in %Something%
MSBuild: identity under which a batch script executes
Batch file is working fine when double-click but not from outlook rules
Counting the files in multiple directories