|
plp626
银牌会员
     钻石会员
积分 2278
发帖 1020
注册 2007-11-19
状态 离线
|
『楼 主』:
【求助】右键新建文件丢失
使用 LLM 解释/回答一下
昨晚用超级兔子整系统,一不小心把右键新建文件夹,新建文本文档都给弄丢了,,,
注册表不熟悉,我想批处理的reg命令应该可以搞定吧,,
如果可以话谈谈右键添加新建任意文件
谢谢!加分!
Last night I used Super Rabbit to clean up the system, and accidentally lost the "New Folder" and "New Text Document" options in the right-click menu...
I'm not familiar with the registry, but I think the reg command in batch processing should be able to fix it...
If possible, talk about adding arbitrary files to the right-click
Thanks! Will give extra points!
|

山外有山,人外有人;低调做人,努力做事。
进入网盘(各种工具)~~ 空间~~cmd学习 |
|
2008-5-10 13:26 |
|
|
plp626
银牌会员
     钻石会员
积分 2278
发帖 1020
注册 2007-11-19
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
有必要开个注册表的转帖,
reg命令转帖啊。。。
It is necessary to start a reprint post of the registry,
reprint post of the reg command...
|

山外有山,人外有人;低调做人,努力做事。
进入网盘(各种工具)~~ 空间~~cmd学习 |
|
2008-5-10 14:02 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
ShellNEW
文件夹……忘了=。=不属于之类……
ShellNEW
Folder... Forgot it =. = Not belonging to such...
|
|
2008-5-10 14:23 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\New]
@="{D969A300-E7FF-11d0-A93B-00A0C90F2719}"
你先看看你的如何……
Windows Registry Editor Version 5.00
@="{D969A300-E7FF-11d0-A91B-00A0C90F2719}"
你先看看你的如何……
|
|
2008-5-10 14:35 |
|
|
plp626
银牌会员
     钻石会员
积分 2278
发帖 1020
注册 2007-11-19
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
没想到已经你已经发了在baidu知道里也是这个方法,可以,我的已经解决,谢谢。。。
我想学习,reg怎么操作?,注册表里有关文件的右键,文件夹的右键,,,
添加,删除注册表某键值的一般个格式。。。??
大家讨论下,会了注册表没由于解决不了的问题啊。。。。。
Unexpectedly you have also posted the same method in Baidu Knows. Okay, mine has been solved, thank you...
I want to learn how to operate reg? The right-click of files and folders in the registry...
The general format for adding and deleting registry key values...?
Let's discuss, once you master the registry, there are no unsolvable problems...
|

山外有山,人外有人;低调做人,努力做事。
进入网盘(各种工具)~~ 空间~~cmd学习 |
|
2008-5-10 14:50 |
|
|
pooronce
中级用户
  
积分 484
发帖 250
注册 2007-6-5
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
加
Windows Registry Editor Version 5.00
"Administrator"=dword:00000001
刪
Windows Registry Editor Version 5.00
"Administrator"=-
刪目錄
Last edited by pooronce on 2008-5-10 at 02:57 PM ]
Add
Windows Registry Editor Version 5.00
"Administrator"=dword:00000001
Delete
Windows Registry Editor Version 5.00
"Administrator"=-
Delete directory
Last edited by pooronce on 2008-5-10 at 02:57 PM ]
|
|
2008-5-10 14:56 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
……我想看看你默认的什么?
我删除那个new的话,桌面右键 排列什么都没有了……
我想看看如何删除掉新建 文件夹……
你要不用兔子再改下?
用regshot对比下注册表变化……
比出来给你加分啦~
REGEDIT4
-项名]
"键"=-
至于新建项目你看ROOT下面txt呀,bmp呀,……的shellnew再google下就可以了。
文件夹是Directory
文件要看类型……
要全部的可以放到*或者AFSO……
……I want to see what your default is?
If I delete that new, there are no arrangements when right-clicking on the desktop...
I want to see how to delete the New Folder...
Can you use Rabbit to modify it again?
Use regshot to compare the registry changes...
I'll give you extra points if you compare it out~
REGEDIT4
-Item Name]
"Key"=-
As for the new items, look at the shellnew under ROOT like txt, bmp, etc., and then Google it.
The folder is Directory
For files, look at the type...
To do all, you can put it in * or AFSO...
|
|
2008-5-10 15:11 |
|
|
plp626
银牌会员
     钻石会员
积分 2278
发帖 1020
注册 2007-11-19
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
这个regshot.exe挺好玩的,以前没用过,现在也不怎么会,待我好好研究下。。。
你要我再删除新建文件夹,我不敢了,
不过你用超级兔子在菜单选项--关联菜单那里,你选择文件夹,全删,好像就没了新建,,,你试试,,你操作前做好备份就行
恢复时,好像还和regsvr32 什么注册,反注册之类有关(桌面右键排列我就用这个搞定的,然后才用你说的那个注册表导入把新建菜单搞出来了),,,我不懂,这些都是网上搜索的。。。
This regshot.exe is quite interesting. I haven't used it before, and now I don't know how to use it very well. I'll study it carefully...
You want me to delete the new folder again, but I don't dare.
But if you use Super Rabbit in the menu options - in the context menu section, you select the folder, delete all, it seems the new one disappears... You can try it, just make a backup before operating. When restoring, it seems related to regsvr32 registration, unregistration, etc. (I fixed the desktop right-click arrangement with this, and then used the registry import you mentioned to bring back the new menu)... I don't understand, these are all found on the Internet...
|

山外有山,人外有人;低调做人,努力做事。
进入网盘(各种工具)~~ 空间~~cmd学习 |
|
2008-5-10 18:09 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
因为为了测试个那个还要下载个超级兔子……很麻烦……
你有所以叫你试……
new删除或修改我说了,改了排列那些就没有了。
但是用那个注册表能恢复你的那个问题,说明还是那里有变动吧?
所以想……没测就算了
Because to test that one, you also need to download Super Rabbit... It's very troublesome...
You have so I told you to try...
I said about new deletion or modification, after changing the arrangement, those are gone.
But using that registry can restore your that problem, indicating that there is still a change there, right?
So I thought... If it's not tested, it's fine.
|
|
2008-5-10 18:16 |
|
|
youling126
初级用户
 
积分 87
发帖 42
注册 2008-5-7
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
很多优化软件都有的
Many optimization software all have
|
|
2008-5-11 04:50 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
以前在网上收集的资料,有兴趣的朋友一起学习下^_^
1. 添加右键命令
您所希望使用的命令如果不在右键菜单中,就要靠我们自己把它"加"进去。让我们来看几个添加实例,把握了基本方法,就可触类旁通,添加一切命令。
用右键快捷命令重启计算机。"重新启动计算机"是经常需要做的工作,可是它的实现要通过点击"开始/关闭系统/重新启动计算机/确定"好几个步骤的操作,比较麻烦,如果可以通过右键快捷命令随时随地重启就更方便了。要添加"重新启动计算机"到右键菜单中,方法是:打开注册表编辑器,定位到"HKEY_LOCAL_MACHINE\Software\CLASSES\Directory\shell",在其下新建一个名为"Restart"的子键,然后双击右侧窗口中的"默认",将数值设为"重新启动计算机"。接下来,在"Restart"子键下再建一个子项,命名为"command",双击右侧窗口中的"默认",将数值设为"C:\WINDOWS\RUNDLL.EXE USER.EXE,EXITWINDOWSEXEC"。回车退出后,鼠标右键单击任意文件夹或"开始"按钮,在弹出的菜单中,用户就可以选择"重新启动计算机"命令了。
除了"回收站"本身,其他文件的右键菜单都没有"清空回收站"命令,那么我们也可以给它加上。在"HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers"下新建主键"{645FF040-5081-101B-9F08-00AA002F954E}",确定后退出注册表,当右击任何文件时,其快捷菜单都会有一个"清空回收站"的选项。
2. 删除右键命令
右键菜单选项良莠不齐,一些没用的命令应毫不留情地删除。在上网时常会遇到IE首页或标题栏被更改的情况,对此大家已经见怪不怪了。可是最近又有一种新的源代码,在右键菜单把自己的网站名字加上,在你用右键的时候就会出现在弹出的菜单中,虽然不影响使用,但一个不怎么样的网站实在不值得留在右键菜单中,而且长长的右键菜单也有碍雅观。去掉它的办法是:打开注册表编辑器,找到"HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt",你就会看到令人讨厌的网址,将其删除,右键就不会再出现那些网站的名字了。
有时我们正常卸载某个应用程序后,在右键菜单中仍会遗留下一些不再需要的项目,同样需要将其删除。这些遗留项目一般都存放在"HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers";如果是只对文件夹有效的项目,则存放在"HKEY_CLASSES_ROOT\Directory\shell"和"HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers",有时在"HKEY_CLASSES_ROOT\Folder\shell"和"HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers"也有,找到后将他们删除即可。
不想让右键菜单显示怎么办呢?比如要禁止右键单击"开始"弹出的菜单。在"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"下新建键值"NoTrayContextMenu",赋值为"1",这样在"开始"按钮上单击右键时就不会出现快捷菜单。
3. 汉化右键命令
有时在一些程序中使用右键时,所弹出的右键菜单中一些命令用英文显示,如果英文不好就会"一头雾水"。其实,它们是可以汉化的。比如安装了网络蚂蚁后,当用户浏览网页时如果单击鼠标右键,会发现在菜单中多了"Download All by NetAnts",感到它和其他的中文选项有点不谐调。汉化它的办法是:打开注册表编辑器,定位到"HKEY_CURRENT_USER\Soft-ware\Microsoft\Internet Explorer\MenuExt\Download &&All by NetAnts",再用鼠标右键单击"Download &&All by NetAnts"子键,在出现的快捷菜单中选择"重命名",则"Download &&All by NetAnts"子键即变为可编辑状态,此时可将其修改为"全部由网络蚂蚁下载",回车后,重新启动浏览器,汉化内容生效。
4. 为文件类的对象添加右键选单
依次展开"HKEY_CLASSES_ROOT\"分支,用鼠标右击其中的"Shell"主键,在弹出的选单中选择"新建/主键"命令,然后将"新键#1"重新命名为"打开Word 2000"。再用鼠标右击"打开Word 2000"主键,依次选择"新建/主键",并将它改名为"Command"。选择"Command"主键,在右边窗口"名称"下的"默认"文字处双击鼠标左键,在"键值"下面输入Word2000的执行文件Winword.exe的完整路径,如"D:\Program Files\Microsoft Office\Office\Winword.exe"(注意引号不要输入),按"确定"按钮,再关闭注册表编辑器。
现在用鼠标双击桌面上"我的电脑"图标,双击任意一个驱动器图标,并从中选择一个文件(注意:现在暂时还不能选择文件夹),按下鼠标右键,可以看到在弹出的快捷选单中出现了"打开Word 2000"选项,用鼠标单击它就可以运行Word 2000。如果用鼠标右击桌面上任意一个应用程序的快捷方式图标,也可以在弹出的右键选单中找到"打开Word 2000"选项。
5. 为文件夹类的对象添加右键选单
要为文件夹类的对象添加上述右键选单,只要在"HKEY_CLASSES_ROOT\Folder"主键下的"Shell"主键上,用上面的方法进行同样的设置即可。
现在我们选择任意一个文件夹,按鼠标右键后就可以看到在弹出的快捷选单中也增加了"打开Word 2000"选项。更为奇妙的是,在任务栏上的"开始"按钮上右击鼠标,在弹出的选单中也增加了"打开Word 2000"选项!不仅"开始"按钮的右键选单中会出现这些应用程序的选单项,其它如桌面上的"我的电脑"、"我的文档"、"回收站"等任何文件夹类的对象右键选单中同样也会出现这些选单项,打开这些程序是不是很方便?
运用上面的方法,我们可以将其它经常使用的软件添加到右键选单中。如果想删除右键选单中的这些选单项,在注册表中将添加的相应主键删除即可。
6. 指定文件类型的右键选单
为特定的文件类型右键菜单添加选项可以通过修改注册表来实现,只不过有一种更为简单并且安全的方法,也就是在文件夹选项中进行修改。例如要在MP3文件右键菜单中增加一项"用MPlayer2(Windows Medis player 6.4)播放",具体操作如下:依次单击资源管理器"工具" "文件夹选项" "文件类型",在已注册文件类型列表框中选中"MP3",点击下方的"高级"按钮,在弹出的对话框中单击"新建"按钮,然后在"操作"文本框中输入"用MPlayer2播放",在"用于执行操作的应用程序"框中输入""C:Program FilesWindows Media Playermplayer2.exe" /Play "%L"",确定后退出文件夹选项即可。
7. 文件类对象的右键选单
为文件类对象添加右键菜单项,需要通过修改注册表来实现。举一个简单的例子,为文件类对象增加一个"设为隐藏属性"的菜单项,具体操作方法如下:
运行Regedit, 在注册表HKEY_CLASSES_ROOT*分支下新建一项"Shell",并在该项下级再创建一个新项"AttHide",修改右侧窗格中"默认"键值为"设为隐藏属性",然后在"AttHide"下级再创建一新项,命名为"Command"。
在注册表HKEY_CLASSES_ROOT*shellAttHideCommand右侧窗格中双击"默认"键值,弹出"编辑字符串"对话框,在"数值数据"框中输入"attrib.exe +h "%1""(注意引号不要输入),确定后退出注册表编辑器。现在用鼠标右键单击任意一个文件,可以看到在弹出的快捷菜单中增加了一项"设为隐藏属性",选中它就可以为该文件指定隐藏属性。
8. 文件夹类对象的右键选单
为文件夹类对象添加右键菜单项,可以在注册表HKEY_CLASSES_ROOT\Directory\Shell分支下,用下面的方法进行同样的设置。例如要在文件夹的右键菜单中添加"命令提示符"选项。在注册表HKEY_CLASSES_ROOT\Directory\shell分支下新建一项"CommandPrompt",修改右侧窗格中的"默认"键值为"命令提示符",并在该项下级再建一个新项"Command",将右侧窗格中"默认"键值设为"cmd.exe /k cd "%1""。现在我们就可以不需要输入长长的CD命令就切换到指定的目录了。
9. 驱动器类对象的右键选单
要快速激活屏保,我们可以将屏保请进驱动器的右键菜单中,具体方法如下:在注册表HKEY_CLASSES_ROOTDriveshell分支下新建一项"LoadSCR",修改右侧窗格的"默认"键值为"屏幕保护",并在该项下级再创建一个新项"Command",将右侧窗格中"默认"键值设为"C:windowssystem32logon.scr /s "%1"",刷新后退出注册表编辑器。这时用右键单击任意驱动器,从菜单中选择"屏幕保护",就可以直接运行屏幕保护程序了。
10. 为所有文件和文件夹添加右键选单
如果想要在所有的文件和文件夹的右键菜单中加入特定的菜单项,可以在注册表编辑器中展开HKEY_CLASSES_ROOTAllFilesystemObjects,然后依次新建"Shell命令Command",其他操作类似前面。
11. 右键级联菜单的扩展
(1)"打开方式"菜单
Windows XP中的"打开方式"是一个很有用的菜单项。例如对于同一个视频文件,我们可以通过"打开方式"菜单快速调用不同的播放器进行播放,而无需修改文件的关联。当我们通过"打开方式" "选择程序"调用某个程序打开文件后,该程序就会自动添加到"打开方式"项目中。
系统使用一段时间后,会造成"打开方式"菜单中的项目增多,这时就有必要进行清理了。以清理avi格式文件的"打开方式"菜单为例:运行Regedit,打开注册表编辑器,依次展开HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.AVI,我们可以看到下级有一子项"OpenWithList",选中它,在右侧窗格中就可以看到AVI格式文件的"打开方式"菜单所关联的各种应用程序。选中需要清理的项目,按下"DEL"键删除,刷新后退出注册表编辑器即可。
(2)"发送到"菜单
"发送到"菜单对应的是一个"SendTo"文件夹,它位于Windows XP中"C:Documents and Settings<用户名>"目录下,这个文件夹中的内容就是"发送到"级联菜单中的项目。
我们可以利用此项功能来快速备份文件,甚至可以直接备份到压缩包中。首先,创建一个备份文件夹D:Bak2004,然后用鼠标右键拖动它到"SendTo"目录中,松开鼠标,创建一个快捷方式,并将其重命名为"备份文件夹"。这时在资源管理器中用鼠标右键单击文件,就会出现"发送到" "备份文件夹",又快又方便。
(3)"新建"菜单
对于任何已经在Windows 注册的文件类型,我们可以在相应的扩展键名中加入"ShellNew"新项,然后为其指定Windows 如何创建新文件的设置,最常用的是加入"NullFile"和"Command"值,这样就可以将这种文件类型添加到"新建"级联菜单中。
在注册表编辑器展开HKEY_CLASSESROOT.htm,创建一新项"ShellNew",然后新建字符串值"NullFile",键值为空,按F5键刷新后退出。这时在桌面上单击鼠标右键,打开"新建"级联菜单,就会看到多出了一项"HTML Document"。当需要将"新建"菜单中无用的文件类型删除时,只要在注册表中找到相应的文件扩展名,然后将其下的"ShellNew"子项删除即可。
12. 特殊的右键菜单命令
(1)添加"清空回收站"选项
在注册表HKEY_CLASSES_ROOT*shellexContextMenuHandlers分支下创建一新项"",确定后退出,当右击任意文件时,快捷菜单中都会有一个"清空回收站"的选项。
(2)添加"在新窗口中打开"选项
在注册表HKEY_CLASSES_ROOTDirectoryshell分支下,创建一个新项"NewWindow",将右侧窗格中"默认"键值改为"在新窗口中打开",并在"NewWindow"下再建一新项"Command",修改右侧窗格中"默认"键值为"explorer.exe %1"。
(3)添加"快速重启"选项
在注册表HKEY_CLASSES_ROOTDirectoryshell分支下,创建一个新项"Reboot",将右侧窗格中"默认"键值改为"快速重启",并在"Reboot"下再建一个新项"Command",修改右侧窗格中"默认"键值为"ShutDown -r -t 00"即可。
(4)添加"复制到"选项
在注册表HKEY_CLASSES_ROOTAllFile-systemObjectsshellexContextMenuHandlers分支下,创建一新项"Copy To",修改右侧窗格中"默认"键值为""即可。
(5)添加"移动到"选项
在注册表HKEY_CLASSES_ROOTAllFilesystemObjectsshellexContextMenu-Handlers分支下,创建一新项"Move To",修改右侧窗格中"默认"键值为""即可。
The information collected online before. Friends who are interested can learn together ^_^
1. Add Right-Click Commands
If the command you want to use is not in the right-click menu, we need to "add" it ourselves. Let's look at a few addition examples. Once you grasp the basic methods, you can apply them universally to add any command.
To add a right-click command to restart the computer. "Restarting the computer" is a task that is often needed, but it requires several steps like clicking "Start/Shut Down System/Restart Computer/OK", which is cumbersome. It would be more convenient if you could restart at any time via a right-click command. To add "Restart Computer" to the right-click menu, the method is: Open the Registry Editor, locate "HKEY_LOCAL_MACHINE\Software\CLASSES\Directory\shell", create a new subkey named "Restart" under it, then double-click "Default" in the right window and set the value to "Restart Computer". Next, create a sub项 named "command" under the "Restart" subkey, double-click "Default" in the right window, and set the value to "C:\WINDOWS\RUNDLL.EXE USER.EXE,EXITWINDOWSEXEC". After pressing Enter to exit, right-click any folder or the "Start" button, and you can select the "Restart Computer" command in the pop-up menu.
Except for the Recycle Bin itself, the right-click menu of other files does not have the "Empty Recycle Bin" command. So we can also add it. Create a new primary key "{645FF040-5081-101B-9F08-00AA002F954E}" under "HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers", confirm and exit the registry. When you right-click any file, there will be an "Empty Recycle Bin" option in its shortcut menu.
2. Delete Right-Click Commands
The options in the right-click menu are of varying quality, and useless commands should be removed mercilessly. When surfing the Internet, you often encounter situations where the IE homepage or title bar is changed, and everyone is used to it. But recently, there is a new source code that adds its website name to the right-click menu, which will appear in the pop-up menu when you right-click. Although it doesn't affect use, an unremarkable website is not worth staying in the right-click menu, and a long right-click menu is also unsightly. The way to remove it is: Open the Registry Editor, find "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt", and you will see the annoying URL. Delete it, and the website name will no longer appear in the right-click.
Sometimes, after we normally uninstall an application, some unnecessary items still remain in the right-click menu, and they also need to be deleted. These remaining items are generally stored in "HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers"; if they are items only valid for folders, they are stored in "HKEY_CLASSES_ROOT\Directory\shell" and "HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers", and sometimes in "HKEY_CLASSES_ROOT\Folder\shell" and "HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers". Find them and delete them.
What if you don't want the right-click menu to be displayed? For example, to prohibit the right-click pop-up menu of the "Start" button. Create a key value "NoTrayContextMenu" under "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" and assign it "1". Then when you right-click the "Start" button, the shortcut menu will not appear.
3. Localize Right-Click Commands
Sometimes, when using the right-click in some programs, some commands in the right-click menu are displayed in English. If you are not good at English, you will be "confused". In fact, they can be localized. For example, after installing NetAnts, when you right-click the mouse while browsing the web, you will find "Download All by NetAnts" in the menu, which is not harmonious with other Chinese options. The way to localize it is: Open the Registry Editor, locate "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Download &&All by NetAnts", then right-click the "Download &&All by NetAnts" subkey, select "Rename" in the pop-up shortcut menu, then the "Download &&All by NetAnts" subkey becomes editable. At this time, you can modify it to "全部由网络蚂蚁下载", press Enter, then restart the browser, and the localized content takes effect.
4. Add Right-Click Menus for File-Type Objects
Expand the "HKEY_CLASSES_ROOT" branch in turn, right-click the "Shell" primary key in it, select the "New/Primary Key" command in the pop-up menu, then rename "New Key #1" to "Open Word 2000". Then right-click the "Open Word 2000" primary key, select "New/Primary Key" in turn, and rename it to "Command". Select the "Command" primary key, double-click the "Default" text under "Name" in the right window, enter the full path of the executable file Winword.exe of Word2000 under "Value", such as "D:\Program Files\Microsoft Office\Office\Winword.exe" (note that the quotes should not be entered), press the "OK" button, then close the Registry Editor.
Now double-click the "My Computer" icon on the desktop, double-click any drive icon, and select a file from it (note that you can't select a folder for now), press the right mouse button, and you can see the "Open Word 2000" option in the pop-up shortcut menu. Click it to run Word 2000. If you right-click any application shortcut icon on the desktop, you can also find the "Open Word 2000" option in the pop-up right-click menu.
5. Add Right-Click Menus for Folder-Type Objects
To add the above right-click menu for folder-type objects, just perform the same settings on the "Shell" primary key under the "HKEY_CLASSES_ROOT\Folder" primary key in the same way as above.
Now select any folder, press the right mouse button, and you can see that the "Open Word 2000" option is also added to the pop-up shortcut menu. More wonderfully, when you right-click the "Start" button on the taskbar, the "Open Word 2000" option is also added to the pop-up menu! Not only will these application options appear in the right-click menu of the "Start" button, but also in the right-click menus of any folder-type objects such as "My Computer", "My Documents", "Recycle Bin" on the desktop. Isn't it very convenient to open these programs?
Using the above method, we can add other frequently used software to the right-click menu. If you want to delete these options in the right-click menu, just delete the corresponding primary key in the registry.
6. Specify Right-Click Menus for File Types
Adding options to the right-click menu for specific file types can be achieved by modifying the registry. However, there is a simpler and safer method, which is to modify it in the Folder Options. For example, to add an item "Play with MPlayer2 (Windows Media Player 6.4)" to the right-click menu of MP3 files, the specific operation is as follows: Click "Tools" "Folder Options" "File Types" in Windows Explorer in turn, select "MP3" in the registered file type list box, click the "Advanced" button below, click the "New" button in the pop-up dialog box, then enter "Play with MPlayer2" in the "Action" text box, enter ""C:Program FilesWindows Media Playermplayer2.exe" /Play "%L"" in the "Application used to perform the action" box, confirm and exit the Folder Options.
7. Right-Click Menus for File-Type Objects
To add a right-click menu item for a file-type object, it needs to be achieved by modifying the registry. Take a simple example, add a "Set as Hidden Attribute" menu item for a file-type object. The specific operation method is as follows: Run Regedit, create a new item "Shell" under the HKEY_CLASSES_ROOT* branch in the registry, and create a new item "AttHide" under this item. Modify the "Default" key value in the right pane to "Set as Hidden Attribute", then create a new item named "Command" under "AttHide".
Double-click the "Default" key value on the right pane of HKEY_CLASSES_ROOT*shellAttHideCommand in the registry, a "Edit String" dialog box pops up, enter "attrib.exe +h "%1"" in the "Value data" box (note that the quotes should not be entered), confirm and exit the Registry Editor. Now right-click any file, and you can see that an item "Set as Hidden Attribute" is added to the pop-up shortcut menu. Select it to specify the hidden attribute for the file.
8. Right-Click Menus for Folder-Type Objects
To add a right-click menu item for a folder-type object, you can perform the same settings in the following way under the HKEY_CLASSES_ROOT\Directory\Shell branch in the registry. For example, to add the "Command Prompt" option to the right-click menu of folders. Create a new item "CommandPrompt" under the HKEY_CLASSES_ROOT\Directory\shell branch in the registry, modify the "Default" key value in the right pane to "Command Prompt", and create a new item "Command" under this item, and set the "Default" key value in the right pane to "cmd.exe /k cd "%1"". Now you can switch to the specified directory without entering the long CD command.
9. Right-Click Menus for Drive-Type Objects
To quickly activate the screen saver, we can bring the screen saver into the right-click menu of drives. The specific method is as follows: Create a new item "LoadSCR" under the HKEY_CLASSES_ROOTDriveshell branch in the registry, modify the "Default" key value in the right pane to "Screen Saver", and create a new item "Command" under this item, and set the "Default" key value in the right pane to "C:windowssystem32logon.scr /s "%1"". Refresh and exit the Registry Editor. At this time, right-click any drive, select "Screen Saver" from the menu, and you can directly run the screen saver program.
10. Add Right-Click Menus for All Files and Folders
If you want to add specific menu items to the right-click menus of all files and folders, expand HKEY_CLASSES_ROOTAllFilesystemObjects in the Registry Editor, then create "Shell command Command" in turn. Other operations are similar to the previous ones.
11. Expansion of Right-Click Cascade Menus
(1) "Open With" Menu
The "Open With" in Windows XP is a very useful menu item. For example, for the same video file, you can quickly call different players to play it through the "Open With" menu without modifying the file association. When you call a program to open a file through "Open With" "Choose Program", the program will be automatically added to the "Open With" item.
After the system has been used for a period of time, the items in the "Open With" menu will increase, and it is necessary to clean them up at this time. Taking cleaning the "Open With" menu of AVI format files as an example: Run Regedit, open the Registry Editor, expand HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.AVI in turn, we can see a subitem "OpenWithList" below, select it, and you can see various applications associated with the "Open With" menu of AVI format files in the right pane. Select the item to be cleaned, press the "DEL" key to delete, refresh and exit the Registry Editor.
(2) "Send To" Menu
The "Send To" menu corresponds to a "SendTo" folder, which is located in the "C:Documents and Settings<Username>" directory in Windows XP. The content in this folder is the items in the "Send To" cascade menu.
We can use this function to quickly back up files, and even back up directly to a compressed package. First, create a backup folder D:Bak2004, then right-click and drag it to the "SendTo" directory, release the mouse, create a shortcut, and rename it to "Backup Folder". At this time, right-click a file in Windows Explorer, and you will see "Send To" "Backup Folder", which is fast and convenient.
(3) "New" Menu
For any file type registered in Windows, we can add a new item "ShellNew" in the corresponding extension key name, then specify the settings for how Windows creates a new file for it. The most commonly used are adding "NullFile" and "Command" values, so that this file type can be added to the "New" cascade menu.
Expand HKEY_CLASSESROOT.htm in the Registry Editor, create a new item "ShellNew", then create a string value "NullFile", the key value is empty, press F5 key to refresh and exit. At this time, right-click on the desktop, open the "New" cascade menu, and you will see an additional item "HTML Document". When you need to delete useless file types in the "New" menu, just find the corresponding file extension in the registry, and then delete the "ShellNew" subitem under it.
12. Special Right-Click Menu Commands
(1) Add "Empty Recycle Bin" Option
Create a new item "" under the HKEY_CLASSES_ROOT*shellexContextMenuHandlers branch in the registry, confirm and exit. When you right-click any file, there will be an "Empty Recycle Bin" option in the shortcut menu.
(2) Add "Open in New Window" Option
Create a new item "NewWindow" under the HKEY_CLASSES_ROOTDirectoryshell branch in the registry, change the "Default" key value in the right pane to "Open in New Window", and create a new item "Command" under "NewWindow", and modify the "Default" key value in the right pane to "explorer.exe %1".
(3) Add "Quick Restart" Option
Create a new item "Reboot" under the HKEY_CLASSES_ROOTDirectoryshell branch in the registry, change the "Default" key value in the right pane to "Quick Restart", and create a new item "Command" under "Reboot", and modify the "Default" key value in the right pane to "ShutDown -r -t 00".
(4) Add "Copy To" Option
Create a new item "Copy To" under the HKEY_CLASSES_ROOTAllFilesystemObjectsshellexContextMenuHandlers branch in the registry, and modify the "Default" key value in the right pane to "".
(5) Add "Move To" Option
Create a new item "Move To" under the HKEY_CLASSES_ROOTAllFilesystemObjectsshellexContextMenuHandlers branch in the registry, and modify the "Default" key value in the right pane to "".
|
|
2008-5-11 04:57 |
|
|