My problem is, I use a batch file to copy all contents of the Z drive and put them in C:\htmlbackup\%date%
And so on.
So I want to create a batch file that will delete all folders older than 7 days of the current date.
Current date = 2004-04-10
I want to delete all folders before 2004-04-03
I will use Scheduled Tasks to run the batch file every 7 days. I am using Windows Server 2003.
Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.
Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information. There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html).
The crux of this batch f…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…