无忧启动论坛

标题: 求助右键桌面注册表 [打印本页]

作者: fenghao    时间: 2020-8-11 18:42
标题: 求助右键桌面注册表
本帖最后由 fenghao 于 2020-8-11 23:35 编辑

右击桌面空白处注册表位置是不是
  1. HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers
复制代码

我需要添加一个*.WCS 到右键菜单 应该怎么写
作者: zhxy9804    时间: 2020-8-11 19:40
能说的具体一点嘛?
--------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\ZAudio]
@="音量大小调节器"
"icon"="%windir%\\SysWow64\\SndVol.exe,1"
"position"="top"

[HKEY_CLASSES_ROOT\Directory\Background\shell\ZAudio\command]
@="SndVol"


上面是个示范

作者: fenghao    时间: 2020-8-11 20:24
zhxy9804 发表于 2020-8-11 19:40
能说的具体一点嘛?
--------------
Windows Registry Editor Version 5.00

你好。我是要给wcs 加到右键上
%SystemRoot%\System32\PECMD.EXE,load %CURDIR%\Wallpaper\FlashPic.WCS
这是我执行的路径

作者: singel    时间: 2020-8-11 21:44
  1. reg add "HKCR\Directory\background\shell\Everything" /f /v "Icon" /t REG_SZ /d "D:\iTools\Everything\Everything.exe,0"
  2. reg add "HKCR\Directory\background\shell\Everything" /f /ve /t REG_SZ /d "搜索 Everything..."
  3. reg add "HKCR\Directory\background\shell\Everything" /f /v "SeparatorAfter" /t REG_DWORD /d 1
  4. reg add "HKCR\Directory\background\shell\Everything" /f /v "SeparatorBefore" /t REG_DWORD /d 1
  5. reg add "HKCR\Directory\background\shell\Everything\command" /f /ve /t REG_SZ /d ""D:\iTools\Everything\Everything.exe" -path "%%V""
复制代码

最后一行供参考
作者: fenghao    时间: 2020-8-11 22:35
singel 发表于 2020-8-11 21:44
最后一行供参考

表示看不懂,理解能力太弱了。。


作者: fenghao    时间: 2020-8-11 23:30
最后搞好了,感谢两位老大
奉上我的代码

  1. Windows Registry Editor Version 5.00

  2. [HKEY_CLASSES_ROOT\DesktopBackground\Shell\bizhi]
  3. @="更换壁纸"
  4. "Icon"="PECMD.EXE,2"
  5. "Position"="Bottom"


  6. [HKEY_CLASSES_ROOT\DesktopBackground\Shell\bizhi\command]
  7. @="PECMD.EXE X:\\PESOFT\\Wallpaper\\FlashPic.WCS"
复制代码





欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3