Strict Standards: Non-static method AL_HELPER::SetupPaths() should not be called statically in /home/software/public_html/windowsxp/init.php on line 15
RightClick drive defragmentation

Still have a problem? Ask for help at our discussion forum.

Advanced Search
Article Options
Popular Articles
  1. Handwrite for MSN Messenger
  2. Win2000 Logon Screen
  3. The difference between 64 and 32 bit processors
  4. Windows XP FAQ T
  5. Windows XP FAQ P
No popular articles found.

 »  Home  »  Software  »  RightClick drive defragmentation
RightClick drive defragmentation
By  Super Admin  | Published  02/25/2005 | Software | Rating:
RightClick drive defragmentation

Ok... there's two ways of achieving this.

The easy way:

1. Create a .reg file and name it to whatever you think might fit. (create an empty .txt-file and rename it to whatever.reg)

2. Rightclick it and choose "edit".

3. Paste the following into it:
Windows Registry Editor Version 5.00

@="defrag.exe %1 -f -v"

4. Save and close.

5. Doubleclick it and answer yes/ok to the questions.

6. Rightclick a drive and choose 'Defrag' to defragment it.

The not as simple but yet not difficult way:

1. Open RegEdit.

2. Navigate to "HKEY_CLASSES_ROOT\Drive\shell".

3. Create a new Key named "Defrag".
(This is what will show in the RightClick-menu so if you'd like it to say "Mah 1337 d3Phr4G-h4Ck" then use that keyname ;) )

4. Create a sub-key to you "Defrag" key and name it "Command".
(This name is not an option)

5. Go to the "Command" key and doubleclick "(default)".

6. Change it's value to "defrag.exe %1 -f -v"
-f = force defragmentation even if there's to little free space on the drive.
-v = Verbose mode.

7. Save and you're done.


I have only tried this on WinXP Pro, so i'm not sure if it works on WinXP Home.


How would you rate the quality of this article?
1 2 3 4 5
Poor Excellent
Tell us why you rated this way (optional):

Send to Author Post on Site