Click to See Complete Forum and Search --> : Delete Files Fast !


AmirYU
August 8th, 1999, 01:22 PM
When a Windows 9x directory contains lots of files (more then 6000) try to delete them becomes slower and more slower as far as you advance in files ...
Why?
Any idea how to do it, so every file delete will take the same time?

praetor
September 15th, 1999, 12:45 AM
since everyone seems to be avoiding you, i'll give you this little jewel i learned long ago when i realized that the win32 environ wasn't all it's cracked up to be... *smirk*

fire up a command prompt (i hope you know how to use one... otherwise there's no hope for you) and get to the dir with the files you want to delete. then a good ol'fashined "deltree /y *.*" will get rid of everything, and fast. you have no confirmation for ANYTHING and it'll delete all sub dirs too (remember that, you have been warned). but aside from that fact, it's very fast. naturally, replace the *.* with something else for specific file names or whatever. lemme know if this helps any.

September 15th, 1999, 01:23 AM
quick piece of advice. never try this on a unix machine.

praetor
September 15th, 1999, 10:25 AM
i think you mean never try rm -rf / on a unix machine... *grin*