run a looping defragmentation
I'd like to know if anyone knows if, using VBA, a routine can be made that
first
opens dfrgntfs.exe (Windows defragmenter)
then
picks a drive (it has to do this because I have multiple partitions)
then with a for next loop
defragments the drive
THEN
receives a message that defragmentation is complete and then restarts defragmentation. This would be very useful when multiple runs are necessary to eliminate all of the red part of the defrag graph.
- Edward
Below is my really outdated website, but someday I'll get back to working on it
http://www.edwardtisdale.com
Thanks I'll give that a try
As far as running scheduled defrags, I might try that with defrag.exe as well as trying your code. Going through Scheduled Tasks in System Tools (Win2k Pro) doesn't allow me to schedule a defrag otherwise. Thanks for the help. Is that what you meant by the Control Panel? I know when I had win98 I could do that, or maybe it was on WinNT4.0wks.
Also, I'm new here; what is PITA? Something bad I can guess.
Thanks I'll look for diskeeper lite
Quote:
Originally Posted by johnske
Hi Edward,
I find the windows defrag won't work if you're trying to do something, it tends to restart over and over. Not only that, it's really slow and doesn't do a very good job of defragmenting at all...
Try
Diskeeper (
30 day free trial - then pay. Alt: see if you can find a download for the free Diskeeper Lite). Diskeeper will defrag in the background and you can schedule it to run when there's a period (
choose your own period) of inactivity.
There's other defrags out there, but in my experience the inbuilt windows one is the worst of them all :)
Regards,
John
Thanks I'll look for diskeeper lite
re:multiple passes and different drives
Quote:
Originally Posted by Killian
but I think controlling multiple passes and different drives consecutively will be a PITA
Yeah, I don't necessarily want to do it with multiple drives, just the same one over and over.