New
#1
Problem with a Reg File, custom context menu add options Windows 10
I'm trying to make a small and very basic program to install a custom menu to the desktop right click menu on Windows 10 Pro 64 bits. That would start a program, launch a web page and others simple tasks when triggered. The install process seems to be doing fine but there seems to be a problem with my reg file since the options appears on the desktop right click menu but they don't trigger but the files are copied to the %HOMEPATH% dir (See bellow) correctly, i have double checked. I tried finding the solution on the net in vain. I would need help from someone who is use to write reg files. It may be a problem with the address location target that i'm using in the reg file (%HOMEPATH%\Documents) but at this point i can't tell.
Reg File:
Windows Registry Editor Version 5.00
; Created by: Luxe
; Created on: December 4th 2019
; Updated on: December 12th 2019
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Planet Zoo]
"Icon"="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\1.ico"
"MUIVerb"="Planet Zoo"
"Position"="Bottom"
"SubCommands"=""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\001flyout]
"MUIVerb"="Play Planet Zoo"
"Icon"="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\5.ico"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\001flyout\command]
@="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\Start_PZ.bat"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\002flyout]
"Icon"="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\7.ico"
"MUIVerb"="Workshop"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\002flyout\command]
@="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\Workshop_PZ.bat"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\003flyout]
"Icon"="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\4.ico"
"MUIVerb"="Backup"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\003flyout\command]
@="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\Backup_PZ.bat"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\004flyout]
"Icon"="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\6.ico"
"MUIVerb"="Screenshots"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\004flyout\command]
@="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\Screenshots_PZ.bat"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\005flyout]
"Icon"="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\R.ico"
"MUIVerb"="Restart PZ"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\005flyout\command]
@="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\Restart_PZ.bat"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\006flyout]
"Icon"="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\3.ico"
"MUIVerb"="Close PZ"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Project\shell\006flyout\command]
@="%HOMEPATH%\Documents\Planet_Zoo_Context_Menu\Close_PZ.bat"
Last edited by WZNI; 21 Dec 2019 at 21:35.