Add Defrag As A Context Menu Item
Creating a registry
import file allows you to add [Defrag] as a context menu item to
launch the command line version of XP’s built-in defragmenter
utility. Unlike the graphical Windows based defragmenter utility,
the command line version is far faster and runs without user
intervention other than starting the defragmenter process.
Create a new
registry import file named context_defrag.inf in Notepad. When
saving the file it’s necessary to set the [Save As] type to [All
Files] and not the default [Text Documents]. Copy and paste the text
block below into the document and save.
;
context_defrag.INF ; Adds Defrag to the right click context menu in Windows
XP [version] signature="$CHICAGO$" [DefaultInstall] AddReg=AddMe [AddMe]
HKCR,"Drive\Shell\Defrag\command",,,"DEFRAG.EXE %1"
Right-click the
document just created and choose Install. This will add the context
menu to XP that allows you to automatically defragment drives using
the command line version of the utility. To use it, navigate to a
drive in My Computer, right-click and choose [Defrag]. A command
line window will appear and that drive will be defragmented. When
defragment is complete the window will close.
|