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
I want to use a symbol as a start and end marker of a variable
Batch script - copy hidden jpeg files from whole computer
Proper way to set JAVA_OPTS that contains spaces in standalone.conf.bat in WildFly 8?
Only get IPv4 address without the “IPv4 Address. . . . . . . . . . . :” in bat-file
How to create a variable that is set based on a text files contents (batch file)
batch scripting to compare and move files in a folder to another based on a part of source file name
I need a batch or a command line to restart the ''process<name>'' 2 minutes after the process is over
Trouble with batch file executing an EXE
Is it possible to 'split' the value of a set /p command in cmd?
Read file contents into batch variable?
Batch - Commenting on YouTube [on hold]
How to automatically close command prompt when my ''Tool.bat'' has no activity anymore in cmd.exe
How to run another batch script with different privilege?
8 Variables in one line (Batch)
Using a batch file to count and copy nth file to new directory, multiple passes
SQLLDR command Error .Dat file not found