Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


jamesbebby

Right Click

Recommended Posts

Hi, I would like to learn more about the right click context menu in Win7, And understanding .DLL that add entries to the menu Any info would be nice.

Thanks James

Share this post


Link to post
Share on other sites

In Windows 7 it is better to use Background and this can be added to registry so no modding dll's

Background in Win 7 means anywhere on the desktop, any white space on any folder or drive. It's basically right clicking on a blank space anywhere.

Here is mine which has Add Remove, Cmd Prompt, Create Restore Point, Kill Not Responding Tasks

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\Add Remove]
@=""
"Icon"="imageres.dll,-161"
"Position"="Bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\Add Remove\command]
@="control appwiz.cpl"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\cmd]
@="@shell32.dll,-8506"
"NoWorkingDirectory"=""
"Icon"="cmd.exe"
"Position"="Bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\cmd\command]
@="cmd.exe /s /k pushd \"%V\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\Create Restore Point]
@=""
"icon"="rstrui.exe,-155"
"Position"="Bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\Create Restore Point\command]
@="WScript.exe %windir%\CreateRestorePoint.vbs"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\Kill Not Responding Tasks]
@=""
"Icon"="explorer.exe,-111"
"Position"="Bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\Kill Not Responding Tasks\command]
@="C:\\Windows\\System32\\taskkill.exe /F /FI \"STATUS eq NOT RESPONDING\""

You can get code for CreateRestorePoint.vbs here

Edited by maxXPsoft

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...