Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem HKCR\.txt2
- reg add "HKCR\.txt2" /ve /d "txtfile"
- reg add "HKCR\.txt2" /v "Content Type" /d "text/plain"
- reg add "HKCR\.txt2" /v "PerceivedType" /d text
- reg add "HKCR\.txt2\PersistentHandler" /ve /d "{5e941d80-bf96-11cd-b579-08002b30bfeb}"
- reg add "HKCR\.txt2\ShellNew" /v ItemName /t REG_EXPAND_SZ /d "%SystemRoot%\system32\notepad.exe,-470"
- reg add "HKCR\.txt2\ShellNew" /v NullFile
- rem HKCR\txtfile2
- reg add "HKCR\txtfile2" /ve /d "Text Document"
- reg add "HKCR\txtfile2" /v EditFlags /t REG_DWORD /d 65536
- reg add "HKCR\txtfile2" /v FriendlyTypeName /t REG_EXPAND_SZ /d "@%SystemRoot%\system32\notepad.exe,-469"
- reg add "HKCR\txtfile2\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\imageres.dll,-102"
- reg add "HKCR\txtfile2\shell\open\command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\NOTEPAD.EXE %1"
- reg add "HKCR\txtfile2\shell\print\command" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\NOTEPAD.EXE /p %1"
- reg add "HKCR\txtfile2\shell\printto\command" /ve /t REG_EXPAND_SZ /d %SystemRoot%\system32\notepad.exe /pt "%1" "%2" "%3" "%4"
- reg add "HKCR\txtfile2\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}" /ve /d "{1531d583-8375-4d3f-b5fb-d23bbd169f22}"
- rem [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TXT\UserChoice]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement