Jump to content

Recommended Posts

Posted

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

  • 4 weeks later...

Posted (edited)

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...