Re: Emptying directories

From: R. C. White (rc_at_corridor.net)
Date: 01/14/05


Date: Fri, 14 Jan 2005 10:25:57 -0600

Hi, Howard.

Sorry, I should have said: del <foldername>\*.* /s

The /s switch should "Delete specified files from all subdirectories." As
usual in the "DOS" window, you can type the command followed by /? to see a
mini-help file showing all the switches and parameters available with that
command.

RC

-- 
R. C. White, CPA
San Marcos, TX
rc@corridor.net
Microsoft Windows MVP
"Howard Brazee" <howard@brazee.net> wrote in message 
news:%238LVMQk%23EHA.2076@TK2MSFTNGP15.phx.gbl...
>
> On 13-Jan-2005, "R. C. White" <rc@corridor.net> wrote:
>
>> <howard@brazee.net> wrote in message
>> news:eQ1vONc%23EHA.600@TK2MSFTNGP09.phx.gbl...
>> > What's an easy way to empty directories and subdirectories without
>> > removing the directories?
>
>> Well, there's always the good old DOS command:  del <foldername>\*.*
>
> That will do the directory, but not subdirectories.    I once had a SWEEP
> command that would work back in the DOS era, I wonder if I can find it or 
> if it
> works with modern file names. 


Relevant Pages