context_defrag.vbs -Adds
Defrag to Explorer's Right Click Context Menu
© Doug Knox - 9/3/2001
This code may be freely distributed/modified.
For Windows XP, click here.
This VB Script will add Defrag to the right click context menu for hard disk drives in Windows Explorer.
To use: Download the context_defrag.vbs file and save it to your hard drive (you may want to right click and use Save Target As). Double-click context_defrag.vbs file. You will be prompted when the changes have been completed. This script can be viewed in Notepad or any text editor, as to the specific Registry key and value that are updated. Your antivirus software may report this script as potentially malicious, or a possible virus. This is because the script writes to the System Registry.
To remove the Context Menu entry for defrag, click here for the script to remove it.
This page last updated
11/25/2005 21:17
All material © Doug Knox