MSFN Forum: Right Click - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Right Click Win7 Rate Topic: -----

#1 User is offline   jamesbebby 

  • Member
  • PipPip
  • Group: Members
  • Posts: 176
  • Joined: 26-February 09

Posted 18 January 2011 - 09:16 AM

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


#2 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,769
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 February 2011 - 09:18 PM

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 http://www.msfn.org/...post__p__955442

This post has been edited by maxXPsoft: 12 February 2011 - 07:05 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy