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 to pipe specific cmd output line to another batch?
How do I execute a batch command on multiple files if they're in a different directory than the batch?
How to call a .txt file and find multiple strings of .txt file from a folder or directory using batch script
batch write reg file fails with “The system cannot find the file specified”
Error with robocopy in batch file
how do I use scp command in my batch file
Assign the number of rows in a file to a variable in a batch file
Batch script for loop with prefix
File not getting created in .bat via c# code
server service path in bat file
Batch file scripting playing with the directories
How to open a link with CMD
Archiving files in directory with 7zip command into single zips [closed]
Batch for creating a txt file with the filename for each file
Batch File: Assign Variable to Each Sub Directory.
how to copy and paste file into folder using batch