Rasbastas

Senior Member
Joined
Nov 16, 2009
Messages
12
I am not a coder or programmer. I will start by asking the question and then tell you what I want to accomplish.
Can a windows command be run from the right mouse click folder context menu?
I work with a lot of pictures and create a lot of folders to put the pictures into. Most of the time I need to resize them before I can use them. In windows XP I figured out, with the help of some really great guys how to do it but since migrating to 7 I haven't been able to duplicate it. Here is what I want to get done.
In windows explorer I want to be able to right mouse click in the folder view(right side of the windows with a folder opened) and click one time on an entry in that menu to create a new folder in the current folder and have it named "resized". This would be a time saver to me if it can be done in 7. Thanks. Ras
 


Solution
To achieve the functionality you described, where you can right-click in Windows Explorer to create a new folder named "resized" in the current folder, you can customize the context menu using a registry tweak. This involves creating a custom registry entry that adds an option to the right-click context menu for folders in Windows. Here's how you can do it:

How to Add "Resized" Folder Creation Option to Windows Explorer Context Menu:​

  1. Open Notepad: Open Notepad or any text editor.
  2. Copy and Paste Registry Script: Copy and paste the following text into the Notepad window:
    Code:
     Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\resized] @="Resized"...
To achieve the functionality you described, where you can right-click in Windows Explorer to create a new folder named "resized" in the current folder, you can customize the context menu using a registry tweak. This involves creating a custom registry entry that adds an option to the right-click context menu for folders in Windows. Here's how you can do it:

How to Add "Resized" Folder Creation Option to Windows Explorer Context Menu:​

  1. Open Notepad: Open Notepad or any text editor.
  2. Copy and Paste Registry Script: Copy and paste the following text into the Notepad window:
    Code:
     Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\resized] @="Resized" [HKEY_CLASSES_ROOT\Directory\Background\shell\resized\command] @="cmd /c md \"%1\\resized\""
    This script creates a new context menu item named "Resized" in the right-click menu for folders.
  3. Save the File: Save the file with a .reg extension, for example, "resized_folder_context_menu.reg".
  4. Run the Registry Script:
    • Double-click on the .reg file you created and confirm that you want to add the entries to the registry.
  5. Test the Context Menu:
    • Open Windows Explorer, navigate to a folder, right-click in the folder view, and you should see the "Resized" option. Clicking on it will create a new folder named "resized" in the current folder.

      Note:​

      • Be cautious when editing the registry. Make sure to back up your registry or create a system restore point before making changes.
      • This script is provided as a way to customize the context menu, and any changes you make are at your own risk.
      Feel free to reach out if you need further assistance or have any questions!
 


Solution
Back
Top