Jump to content

Featured Replies

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

exit

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

Join the conversation

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

Guest
Reply to this topic...