Guide Interesting Context Menu (Right Click) Options

The Tips:

1. Creating a Directory Printing Option in the Right Click menu
2. Creating a Copy to option in the Right Click menu
3. Creating a Move to option in the Right Click menu


Tip #1

Want to send a list of all Songs In your Music Folder to your friend? Or ever Faced with a similar scenario where you had to resort to third party apps??

Use this hack, this hack creates a context-menu right-click option to create such a list, which you can then edit, copy, paste, send to your friend or do whatever you want to:

To create the entry in the context menu it's necessary to first create a batch file. A batch file is a text file that contains a sequence of commands for a computer operating system and uses the .bat extension. The format for the .bat file is:

Code:
dir /a /-p /o:gen >ListPrinter.txt

The name of the .txt file can be whatever you like. In this it is ListPrinter.txt, but it could just as easily be your name, your dogs name or whatever you like.

Once you've decided on the filename, create the file in Notepad

Save the file in your WINDOWS folder

:! Note:

Make sure to use the .bat extension and not the default .txt extension.
It's important to set "Save as type" to All Files and "Encoding:" to ANSI.

The next step is to make it functional and easily accessible by integrating it into the context menu that opens when a right click is executed.

Open Windows Explorer and choose

Tools -> Folder -> Options -> File Types tab -> Folder -> Advanced -> New, to open the New Action box

In the Action box, type the name that you want to appear in the context menu. Once again, you have your choices; something like Print Directory Listing will probably be easy to Identify.

Browse to the location of the .bat file you created, and select it in the box labeled "Application used to perform action"

Click OK, and you'll see that Print Directory Listing (or whatever you chose as an action name) has been added as one of the Actions in the Edit File Type window

Now do the standard Windows step of clicking OK to close all the open windows.

Voila!!!

Want to test it? Navigate to any folder in the explorer and right click on it to see the option. Click on it and you will have a notepad file with the list of all the files in the folder.

:! Note
In case you can to remove the Option, you need to go to the registry editor:

Navigate to HKEY_CLASSES_ROOT\Folder\shell\Create_File_Listing and delete the Create_File_Listing key in the left pane. Close regedit and reboot to complete removal.

Tip #2

Copying and moving files to different folders, dragging them, cutting them and pasting them is a pain when you do it often - with this small hack, it will make the process pretty painless

You can add Copy To option to the right-click context menu.

When you choose one of the options from the menu, you browse to any place on your hard disk to copy or move the file to, and then send the file there.

To add the option, run the Registry Editor

Navigate to
Code:
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers. shellex

This is a shell extension key that lets you customize the user shell or the interface. Here Create a new key called Copy To.

After you create the key, set the value to

Code:
{C2FBB630-2971-11d1-A18C-00C04FD75D13}

Close the registry Editor and you are done!!!

Tip #3

This thing is the same as in Tip #2

In the Registry Editor

Navigate to
Code:
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers. shellex

This is a shell extension key that lets you customize the user shell or the interface. Here Create another key called Move To (You can have both Move to and Copy to option on the right Click menu)

This time, Set the value to of the key to
Code:
{C2FBB631-2971-11d1-A18C-00C04FD75D13}.

Exit the Registry editor and you are done again.

:! Note
If you want to undo Tip #2 and Tip #3 - All you need to do is delete the entries that you have created.



Hope they come in handy!!
 
Back
Top