Jump to content

Adding new templates.


Recommended Posts

Found a typo... I fixed it here

@echo off

cd .

move /Y "VKP.vkp" "%AllUsersProfile%\Templates"

REG ADD "HKLM\SOFTWARE\Classes\.vkp" /ve /t REG_SZ /d "vkp_auto_file" /f

REG ADD "HKLM\SOFTWARE\Classes\.vkp\ShellNew" /v "FileName" /t REG_SZ /d "VKP.vkp" /f

REG ADD "HKLM\SOFTWARE\Classes\vkp_auto_file" /ve /t REG_SZ /d "VKP Patch" /f

REG ADD "HKLM\SOFTWARE\Classes\vkp_auto_file\shell" /ve /t REG_SZ /d "VKP Patch" /f

REG ADD "HKLM\SOFTWARE\Classes\vkp_auto_file\shell\edit\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\system32\NOTEPAD.EXE %%1" /f

REG ADD "HKLM\SOFTWARE\Classes\vkp_auto_file\shell\open\command" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\system32\NOTEPAD.EXE %%1" /f


BTW if you want to learn more about REG and REG ADD in a CMD window type REG /? or REG ADD /?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...