Sorry for being late.
thanks john, but the website that you posted describes how to add an item to the all files and folders,but not the right click on the desktop.
anyway i tried the solution and they are tring just to add a class that already exists in windows ( the CopyTo )
they are just adding the ClassID to the context menu
but my question is how to creat a new class and add it the menu?
i tried this :
i made a key in the
HKEY_Classes_Root\CLSID\
such as :
{FFF88CAE-608A-474F-B171-905EE12C97C7}
of course i took one of the exisiting Classes and changed one letter.
and then i made a key inside that Class id like this :
HKEY_Classes_Root\CLSID\{FFF88CAE-608A-474F-B171-905EE12C97C7}\shell\open\command
and changed the default value of the command to something like :
Calc.exe
now it is supposed that if i add this class id to the context menu i must have i a new item that open the calculator.
i tried to add this class id to my computer and it works
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
\Explorer\MyComputer\NameSpace\
{FFF88CAE-608A-474F-B171-905EE12C97C7}
i know that it's different to add an icon to the desktop or to my computer
and i noticed that some company such as nvidea add an item to desktop menu and it was in the key:
HKEY_CLASSES_ROOT\Directory\Background\shellex
\ContextMenuHandlers\NvCplDesktopContext
and the value is:
"{A70C977A-BF00-412C-90B7-034C51DA2439}
and if we look for this value we will find :
{A70C977A-BF00-412C-90B7-034C51DA2439}
|-InprocServer32
|-ProgID
|-Programmable
|-TypeLib
|-VersionIndependentProgID
and the InprocServer32 contain a name of dll file
C:\WINDOWS\system32\nvcpl.dll
the question is what does this file contain??
and how to make one??
