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 Script on 2008 server - If Ping successful then
How can I extract part of a string based on a pattern using Windows CMD?
Saving ANT build results and displaying at end of batch run
How to check java path is set or not to porticular folder if not then set the path using batch file
How to use For loop query
Batch Script to display the filenames with extension (.skc) in mail body or at least put the .skc values in a variable from #file
Batch file to make folders of selected files in directory of the files
Rename files using cmd and allow duplicates file name
How to copy files from a folder tree to a single folder and only the latest files?
Close chrome from bat file
Filter specific Strings in For loop using batch Script
Batch file script lost in translation to exe?
findstr is not including entire string when used in 'for loop' (.bat file). Can anyone help me get whole string?
BATCH if two textfiles are not the same, copy both into new textfile
BATCH FILE BUG IF STRING == STRING
Batch Script to overwrite a file with first 5 lines