Contributed By: John Oathout [email protected]
Submitted On: 23/01/02
Save yourself a few keystrokes and add the ability to schedule automatic defrags through Macro Scheduler in Windows 2000 professional with this script.
ExecuteFile>C:\WINNT\system32\dfrg.msc
WaitWindowOpen>Disk Defragmenter
Press ALT
Send Character/Text>A
Press Enter
WaitWindowOpen>Analysis Complete
Press ALT
Send Character/Text>d
Windows 2000 Defrag
Moderators: Dorian (MJT support), JRL, Phil Pendlebury
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact: