windows - How can I add an item to the 'new' context menu? - Super User

windows - How can I add an item to the 'new' context menu? - Super User



Easiest to add it in the reg and export it - then create a "REMOVE" version by adding - in fornt of the REG:

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.xlsm_LOG.xlsm\ShellNew]

[-HKEY_CLASSES_ROOT\.xlsm_LOG.xlsm]

[-HKEY_CLASSES_ROOT\.xlsm_LOG.xlsm\PersistentHandler]



The sub keys don' t have to be removed - but shown as an example of how to remove the file. - Just ass a "-" after the [ in the key.



Also note - when adding paths - easier to plug in the paths and let RegEdit store the key for all the extra 'escapes' - especially for UNC paths:



[HKEY_CLASSES_ROOT\.xlsm_LOG.xlsm\ShellNew]

"FileName"="\\\\somevol.com\\path\\path\\LIB\\MICROSOFT\\OFFICE\\root\\vfs\\Windows\\ShellNew\\Changelog-12.xlsm"

Comments

Popular posts from this blog

Powerpoint countdown and current time in slides VBA

Revit area plans adding new types and references (Gross and rentable)