skip to main
|
skip to sidebar
Sav's Blog
Thursday, 16 December 2010
Delete files older than a number of days
If you want to delete all the files in D:\temp which are older than 30 days old then just run the following command:
forfiles /p "D:\temp" /S /M * /D -30 /C "cmd /c del /Q @path"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2013
(1)
►
May
(1)
►
2012
(1)
►
July
(1)
►
2011
(12)
►
November
(1)
►
October
(2)
►
September
(3)
►
August
(1)
►
April
(2)
►
March
(1)
►
February
(2)
▼
2010
(11)
▼
December
(1)
Delete files older than a number of days
►
November
(1)
►
September
(1)
►
July
(1)
►
April
(1)
►
March
(3)
►
February
(1)
►
January
(2)
►
2009
(9)
►
November
(2)
►
October
(7)
About Me
Saviz Izadpanah
View my complete profile
No comments:
Post a Comment