( 需要 Microsoft .NET Framework 3.5 )
这小软件可以帮忙隐藏在 'New' context menu 里不必要的 items
Windows 7 :
REM .bmp
REG COPY HKEY_CLASSES_ROOT\.bmp\ShellNew HKEY_CLASSES_ROOT\.bmp\_ShellNew /s
REG DELETE HKEY_CLASSES_ROOT\.bmp\ShellNew /f
REM .contact
REG COPY HKEY_CLASSES_ROOT\.contact\ShellNew HKEY_CLASSES_ROOT\.contact\_ShellNew /s
REG DELETE HKEY_CLASSES_ROOT\.contact\ShellNew /f
REM .library-ms
REG COPY HKEY_CLASSES_ROOT\.library-ms\ShellNew HKEY_CLASSES_ROOT\.library-ms\_ShellNew /s
REG DELETE HKEY_CLASSES_ROOT\.library-ms\ShellNew /f
REM .rtf
REG COPY HKEY_CLASSES_ROOT\.rtf\ShellNew HKEY_CLASSES_ROOT\.rtf\_ShellNew /s
REG DELETE HKEY_CLASSES_ROOT\.rtf\ShellNew /f
REM Briefcase
REG COPY HKEY_CLASSES_ROOT\Briefcase\ShellNew HKEY_CLASSES_ROOT\Briefcase\_ShellNew /s
REG DELETE HKEY_CLASSES_ROOT\Briefcase\ShellNew /f
Windows 10 (用 Command Prompt (Admin), 在里面输入运行 hide.bat) :
REM .bmp
REG COPY HKEY_CLASSES_ROOT\.bmp\ShellNew HKEY_CLASSES_ROOT\.bmp\_ShellNew /s
REG DELETE HKEY_CLASSES_ROOT\.bmp\ShellNew /f
REM .contact
REG COPY HKEY_CLASSES_ROOT\.contact\ShellNew HKEY_CLASSES_ROOT\.contact\_ShellNew /s
REG DELETE HKEY_CLASSES_ROOT\.contact\ShellNew /f
REM .rtf
REG COPY HKEY_CLASSES_ROOT\.rtf\ShellNew HKEY_CLASSES_ROOT\.rtf\_ShellNew /s
REG DELETE HKEY_CLASSES_ROOT\.rtf\ShellNew /f
REM .jnt
REG COPY HKEY_CLASSES_ROOT\.jnt\jntfile\ShellNew HKEY_CLASSES_ROOT\.jnt\jntfile\_ShellNew /s
REG DELETE HKEY_CLASSES_ROOT\.jnt\jntfile\ShellNew /f
要恢复的话, 将以上所有 ShellNew 改为 _ShellNew, 而 _ShellNew 改为 ShellNew 即可
没有评论:
发表评论