batch-file


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

Related Links

batch script for moving file to other location based on modified date older then 2 days
How do i pass arguments while running a bat file in Jenkins
How to find If Java is installed or not using batch file?
Pull svn code using bacth file windows
Error while setting path variable using Batch file
Renaming files in numerical series
Trouble with using For variables within for loop Batch
Change to newline for every occurrence of a string windows batch file
How to set a variable that is saved on another file in batch
how can i use parameter from build jenkins on two batch windows
How to remove quotes from a string get from another application?
Batch - reading from variable
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

Categories

HOME
gridview
apache-flink
redux-form
oracle-apex-5
package
solver
xbee
big-o
3d-reconstruction
square
limit
google-admin-sdk
crystal-reports-2013
opengl-3
pkcs#11
modal-dialog
rcloud
mautic
x-cart
angular-dart
comsol
dynatrace
job-scheduling
intershop
android-7.0-nougat
windows-xp
poedit
guzzle
exit
gmock
game-theory
expressionengine3
moses
8051
sqsh
scrollview
mustache
deltaspike
erb
android-maps-extensions
navigator
roblox
sharepoint-workflow
zoomify
spring-mvc-test
xv6
vmware-fusion
postgresql-8.4
print-css
apache-spark-dataset
ntvs
aquamacs
pair-programming
java-6
flac
objectscript
swingworker
rxtx
rmongo
latin
rspec2
delta
swizzling
freepbx
cfchart
riot
angular-ui-typeahead
kiosk
upx
findfirst
design-principles
toran-proxy
gocql
file-move
wiredep
vigenere
roadkill-wiki
morton-number
page.js
toolkit
sapscript
apache-commons-daemon
omnifaces
zxspectrum
mmwormhole
cross-join
paw
cuba
codeplex
cancellation
dot42
terminate
sbcl
rfc5322
ie8-compatibility-mode
nevron
process-explorer
windows-98
bjyauthorize
paginator
virtualpathprovider
convention
user-tracking
u2netdk
dataform
unattended-processing
cloudfiles
maven-1
drupal-fivestar
sifr
duplex
data-mapping
soappy
great-circle

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile