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 file: run command in a cmd.exe launched as a different user using batch file
How to move the Last Modified file in a folder to another folder
Batch - Create Folders with one changing variable
.bat Works in NT-based Windows But Not DOS or 9x?
Search filename with variable and replace different variable text in another file with multiple lines
How do I check for duplicates in a large txt file in batch?
Grab variable wihin a line of text that contains constants and other variables
Find a substring (filepath) from a string containing variable order arguments
Batch file goto not working in for loop
How can you open a non-specific file using a program called through a batch file?
Batch file: sorting folders and files alphabetically
Run .bat script on server start up and keep console
Set output of a command as a variable (with pipes)
Batch sendemail automatically without clicking send
Batch File to restart the service after reading value
Reading From a Text File and Executing What You Find