Advertisement

02.22.2008 at 10:34AM PST, ID: 23185371
[x]
Attachment Details

Need to be able to automatically dellete all files and sub folders in a given folder at a given time

Asked by iccaveman in Windows 2003 Server

Tags: , ,

I need to be able to be able to delete all files and sub folders in a given folder at a specific time. I can run a batch file as a scheduled task with the DEL command in the batch file, but that will only delete the files, not the folders.  I need to also delete the folders (there are hundreds of them at least 10 levels deep).  Thanks for you help.Start Free Trial
 
Loading Advertisement...
 
[+][-]02.22.2008 at 11:00AM PST, ID: 20960260

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Windows 2003 Server
Tags: Microsoft, Small Business Server, 2003 R2 SP2
Sign Up Now!
Solution Provided By: mattee76
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628