RESTORED to original question as well as I could, 7/27/19 1:08 PM

I've created the following .reg file to add a shell verb 'Build PGL File' for .pgl files. The verb should run Firefox with a command line.

After double-clicking this .reg file, the keys and values are merged into the Registry. But right-clicking a .pgl file in File Manager shows a 'Build PGL File' verb that has no file association.

Windows Registry Editor Version 5.00


@="PGL Document"



@="firefox.exe doit.php?%1%"

In the registry, navigate to:


and delete the UserChoice subkey.

  • No subkey. Deleted the .pgl key. Did not work. No effect. – David Spector Jul 27 '19 at 16:19

I suppose you want to navigate to


when you right-click a .pgl file and then click on an item in the right-click menu that says for example : Go to springweb

This can be achieved as follows

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\VBSFile\Shell\Start url]
"icon"="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\""
"MUIVerb"="Go to vbsedit.com"

[HKEY_CLASSES_ROOT\VBSFile\Shell\start url\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" https://www.vbsedit.com"

In your case, VBSFile must then become PGLFile.

Search for it under HKEY_CLASSES_ROOT

https://www.vbsedit.com must then become http://localhost/springweb/springweb.php

this will be opened in IE

MUIVerb will display the name Go to springweb in the context menu.

"MUIVerb"="Go to vbsedit.com" change Go to vbsedit.com to Go to springweb, or whatever you want.

If you leave out "MUIVerb"="Go to springweb"

then Start url will be displayed.

  • Yay! This opened IE to the path nicely (I will have to change it to open FireFox). Amazing magic, thanks. – David Spector Jul 27 '19 at 16:26

I have solved this problem, with the help of Dr RedAnt .

Here is the correct solution, with backslashes doubled (stupid .reg file format):

Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\PGLFile\Shell\Start url]
"MUIVerb"="Build PGL File"

[HKEY_CLASSES_ROOT\PGLFile\Shell\Start url\Command]
@="\"C:\\Program Files\\Mozilla Firefox\\firefox.exe\" http://localhost/springweb/springweb.php"
  • I can't get changes to the Command subkey to be seen by Explorer. Does it have a cache? – David Spector Jul 27 '19 at 17:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.