Simple batch® script for adding new item into 'New' section of Windows Context Menu
Open item_format.reg and change these arguments to your:
- '::EXTENSION::' = Name of file extension (ex:
lua) - '::TEMPLATE-FILE::' = Name of template file from
.\Templatesdirectory (ex:Script.lua) - '::ITEM-NAME::' = Name of item in context menu (ex:
Lua Script)
Put template file into .\Templates\ and run start.bat file.
item_format.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.lua]
@="lua"
[HKEY_CLASSES_ROOT\.lua\ShellNew]
"FileName"="lua.lua"
[HKEY_CLASSES_ROOT\lua]
@="Lua Script"
item_format.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.html]
@="html"
[HKEY_CLASSES_ROOT\.html\ShellNew]
"FileName"="html.html"
[HKEY_CLASSES_ROOT\html]
@="HTML File"
item_format.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.vmt]
@="vmt"
[HKEY_CLASSES_ROOT\.vmt\ShellNew]
"FileName"="vmt.vmt"
[HKEY_CLASSES_ROOT\vmt]
@="VMT File"
