Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 10-08-2008, 06:50 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Jun 2008
Location: Mumbai
Posts: 8
Default Add Defragment to a Drives Right-Click Menu

Direct from HowToGeek comes instructions on adding a simple registry tweak that will allow you to add “Defragment” to the context menu on any drive when you right click it.
After manually applying or downloading the hack, you’ll have a new item on the right-click menu for your drives…

Which will start up the command-line version of Disk Defragmenter (after accepting the UAC prompt)
Manual Registry Hack
Open up regedit.exe through the start menu search or run box, and then browse down to the following key:
HKEY_CLASSES_ROOT\Drive\shellCreate a new key under shell called “runas”, and then set the (Default) value to “Defragment”. If you want to hide this menu item behind the Shift key right-click menu, then add a new string called Extended with no value.

Next, you’ll need to create a key called “command” and set the default value to the following, which is the command to run defrag with the default options but show verbose output.
defrag %1 -v


You can alternately choose from one of the other defrag switches here if you’d like.
Downloadable Registry Hack
HowToGeek provides a downloadable registry hack to do all of this for you. Simply download, extract, and double-click on either AddDefragToDriveMenu.reg (for the regular menu) or AddDefragToExtendedDriveMenu.reg (to hide behind the Shift key). There’s also an included removal script that will remove either one.
harimaurya is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 18-08-2008, 11:59 PM   #2 (permalink)
Right Off the Assembly Line
 
Dishant's Avatar
 
Join Date: Nov 2007
Posts: 43
Default Re: Add Defragment to a Drives Right-Click Menu

thanks for this tip hari......lets rock here
Dishant is offline  
Old 19-08-2008, 02:23 PM   #3 (permalink)
BlackBerry Guru ! :)
 
BBThumbHealer's Avatar
 
Join Date: Dec 2006
Location: New Delhi , NCR
Posts: 1,270
Default Re: Add Defragment to a Drives Right-Click Menu

Thnx for sharing !
__________________
Username Changed - BlackBerry7100g To BBThumbHealer !
BBThumbHealer is offline  
Old 19-08-2008, 10:26 PM   #4 (permalink)
The Frozen Nova
 
casanova's Avatar
 
Join Date: Sep 2004
Location: Trespasser in Virtual Land
Posts: 1,641
Default Re: Add Defragment to a Drives Right-Click Menu

Nice tip though I won't be using it (have downloaded the reg file thought). I don't defragment my HDD (my HDD is well organised).
__________________
I dream of a better tomorrow... where chickens can cross roads and not have their motives questioned.

www.nerdweed.blogspot.com
casanova is offline  
Old 19-08-2008, 10:27 PM   #5 (permalink)
Human Spambot
 
Join Date: Jan 2007
Location: Lat 28.38°N , Longt 77.13°E
Posts: 2,429
Default Re: Add Defragment to a Drives Right-Click Menu

Thanks
ThinkFree is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a Program to Right Click New Sub-menu subroto_digit Tutorials 3 16-06-2008 05:31 PM
Autoplay menu in Drives right click.. prem4u Software Q&A 10 21-08-2007 02:15 AM
How To Edit Right-click Menu rajat22 Tutorials 6 31-07-2007 02:25 PM
right-click menu : add/remove. anandk QnA (read only) 6 28-04-2005 09:57 AM


All times are GMT +5.5. The time now is 05:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2