Hi, Danny.
If you really delete just the directory and not the files within it, then
all the clusters those files occupy are not marked available for reuse. The
next time you run Chkdsk, you'll have TONS of lost clusters! Cleaning those
up would take a lot more time and letting rd get rid of them properly in the
first place.
RC
--
R. C. White, CPA
San Marcos, TX
(E-Mail Removed)
Microsoft Windows MVP
"fering" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>
> what i ment is using code not command line
> & if there is a way just to delete the dir.
> For example if it was possible just to delete the dir & not also the files
> inside it can save
> a lot of time becasue i have dirs with millions of small files.
>
>
> "Gary G. Little" <(E-Mail Removed)> wrote in message
> news:Nynzc.6259$(E-Mail Removed)...
>> From a directory path above ...
>>
>> rd /s Yourdir
>>
>> Hold you breath and hang on! Or use My Computer or Explorer.
>>
>> --
>> Gary G. Little
>> Seagate Technologies, LLC
>>
>> "fering" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi,
>> >
>> > Is there a way to delete a full dir instead of deleteing all files
> inside
>> &
>> > then delete the dir ?
>> > using C++ or .net
>> >
>> > Thanks
>> > Danny