You must have a slow machine or some background task happening (antivirus
software running perhaps?). On my 233MX, deltree of a 2G (20,000 file - approx)
directory takes less than 15 minutes (and I've got Norton Protection on).
--
Eric P. van Westendorp Tel: +31(0252)210579
Reigerslaan 22 2215NN Voorhout Netherlands
You do this in plain DOZE, don't you? If so SMARTDRV.EXE should speed
it up.
Right,
MartinS
(1) Use a SmartDrv cache to speed up DELTREE
OR (assuming you have the spare disk space) simply:
(2) Use: REN C:\WINDOWS WINDOWS.OLD
(note that REN in Win95 and higher will rename folders,
but don't specify drive in the new folder name)
Then when you've rebinstalled Windows, simply delete the
WINDOWS.OLD folder in Windows Explorer in the GUI,
where the 32-bit cacheing will mean it's erased quickly
(and the deletion runs in the background anyway, so
it hardly matters how long it takes).
--
(pp) William Allen
1. Load smartdrive before you delete.
2. (even faster) Boot from linux install discs, mount dos partition, and kill
the dirs you need.
He does that from dos mode probably, not from within windows.
Here's what worked for me (and for others). When I had a directory that
couldn't be deleted under DOS. Using Norton DiskEdit, edit the parent
directory and overlay the first character of the problem directory name
with alt-229. (That's hex E5, the character used by DOS to indicate
that a file has been deleted. It's a small sigma in the DOS character
set.) The problem directory will no longer appear in a directory
display, but it's not entirely gone yet. CHKDSK will report lost
allocation units, but CHKDSK /F will recover thoem and complete the
repair.
Should be a quicker way to remove any large directory.
--
Batchman
--
Eric P. van Westendorp Tel: +31(0252)210579
Reigerslaan 22 2215NN Voorhout Netherlands
DOS 7.x - takes some protected mode memory
(for Registry/configuration/others) and is much less optimized
for performance than previous MS-DOS' as it is used by Win 4.x as a
bootstrap loader only. In particular it runs up to 2x slower over
networks or without a disk cache.
--
Batchman
>Its funny I would have thought that with a cpu > 800MHz and 256MB ram and
>just running dos that a simple file delete (even though there is 40,000 odd
>files) would be much faster.
The bottleneck here is not the processor speed or amount of RAM, but the
HDD itself. That's why using SmartDrive is recommended.
--
Robert B. Clark
Visit ClarkWehyr Enterprises On-Line at http://www.3clarks.com/ClarkWehyr/
What does that "simple file delete" have to do?
_That's_ simple - it has to mark the directory entry as "available", and
then it has to mark _every cluster_ as "available", too.
That's one hell of a lot of disk-writing - and that's why it takes a while.
The File Allocation Table (FAT) has to be rewritten after each file is removed
- a large drive has a larger FAT table to rewrite each time.
--
Take Care -
>
> __
> | / \ \ USA, MI // \\
> \_\\ //_/ Crawling on The Web _\\()//_
> .'/()\'. Charles Angelich / // \\ \
> \\ // | \__/ |
> www.undercoverdesign.com/dosghost
>