[windows2000] Re: Batch File Help

  • From: Jeff Malczewski <jmalczewski@xxxxxxxx>
  • To: "'windows2000@xxxxxxxxxxxxx'" <windows2000@xxxxxxxxxxxxx>
  • Date: Mon, 21 Jun 2004 11:05:32 -0400

I know how to do it in VBS....   But batch??

-----Original Message-----
From: Greg Reese [mailto:GReese@xxxxxxxxxxxxxxxx]
Sent: Monday, June 21, 2004 11:02 AM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Batch File Help



I need to make a batch file that will delete all files in a bunch of
subdirectories but leave the subdirs in place. 

This is for the backup file on my SQL server. 

The directory is d:\MSSQL\Backup then there is a subdir for each database.
I want to clear out all those sub directories.

My best thought was to delete the entire backup folder, then copy in an
empty one that has all the subdirectories in it.

Is there a more efficient way to do this? 

Greg 


This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail.

Other related posts: