好好好 |
这个很强大 |
自已顶一下,希望大大能指点一下 |
话说这玩意用处有限吧,毕竟太过于精简了... |
yzy1998 发表于 2023-12-27 09:14 谢谢,不过这个加载进去还是不行,其实在我修该过程也用WPS.REG修改加载过部分正确的,如WPS 和ET但是因为有其他格式关联出错,所以我想导出正确的再进入加载,但是加载的也不正确 这是我导出的 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.wps] @="Word.Document" "Content Type"="application/wps" [HKEY_CLASSES_ROOT\.wps\ShellEx] [HKEY_CLASSES_ROOT\.wps\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}] @="{9DBD2C50-62AD-11d0-B806-00C04FD706EC}" [HKEY_CLASSES_ROOT\.wps\Word.Document] [HKEY_CLASSES_ROOT\.wps\Word.Document\ShellNew] "FileName"="newfile.wps" [HKEY_CLASSES_ROOT\.wps\Word.Documentument] [HKEY_CLASSES_ROOT\.wps\Word.Documentument\ShellNew] "FileName"="newfile.wps" |
感谢分享 |
个人喜欢绿色小软件 不加入右键更清爽 |
学习学习 |
本帖最后由 yzy1998 于 2023-12-27 09:22 编辑 我的机器也是卸载了MSoffice后安装了WPS,没有桌面右键新建功能,就从正常机器上卸出正常的注册表,导入不正常的机器,实操后正常了,你可以试试。额,这个只解决右键新建菜单内没有内容的情况,不含文件关联。 https://www.123pan.com/s/8UNHjv-U47AH.html https://cloud.189.cn/web/share?code=Mji6fme2miAf(访问码:jnc7) |
我WPS的批處理關聯,給你參考一下。 你稍微改一下就好了。
|
yyz2191958 发表于 2023-12-26 21:29 试试,谢谢 |
yyz2191958 发表于 2023-12-26 21:29 试试,谢谢 |
2011mongfei 发表于 2023-12-26 21:13 下面的不知道能不能参考: ::【右键添加:新建bat文件】 reg add "HKCR\.bat\ShellNew" /f /v "NullFile" /t REG_SZ /d "" reg add "HKCR\.bat\ShellNew" /f /v "Data" /t REG_SZ /d "@echo off" ::【给 新建的bat文件一个名字】 reg add "HKCR\batfile" /f /v "FriendlyTypeName" /t REG_SZ /d "bat 文件" ::【给 新建的bat文件加头尾】 >"temp.vbs" echo Set WshShell = WScript.CreateObject("WScript.Shell") >>"temp.vbs" echo regKey = "HKEY_CLASSES_ROOT\.bat\ShellNew\" >>"temp.vbs" echo Text = "@echo off" ^& VbCrLf ^& "" ^& VbCrLf ^& "pause >nul" ^& VbCrLf ^& "exit" >>"temp.vbs" echo WshShell.RegWrite regKey ^& "Data", Text, "REG_SZ" temp.vbs del /q temp.vbs >nul 2>nul |
这个很强大 |
可是我无法添加右键新建 |
2011mongfei 发表于 2023-12-26 20:22 这个很强大 |
本帖最后由 2011mongfei 于 2023-12-29 23:27 编辑 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.XLS] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.XLS\Excel.Workbook.6] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.XLS\Excel.Workbook.6\ShellNew] "FileName"="newfile.XLS" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.XLS\ShellEx] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.XLS\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}] @="{9DBD2C50-62AD-11d0-B806-00C04FD706EC}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xlsx] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xlsm] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xlt] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xltx] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xltm] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.et] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.etx] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pmd] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pmv] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pmw] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.sdc] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.slk] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rtf] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.dbf] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.dif] @="Excel.Workbook.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.doc] @="Word.Document.8" "Content Type"="application/word" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.doc\Word.Document.8] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.doc\Word.Document.8\ShellNew] "FileName"="newfile.doc" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.doc\ShellEx] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.doc\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}] @="{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.docx] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.docm] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.dot] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.dotx] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.dotm] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.wps] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.wpsx] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.tmd] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.tmv] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.odt] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ott] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.sxw] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rtf] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.psw] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pwd] @="Word.Document.8" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppt] @="Smartppt.Application.6" "Content Type"="application/word" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppt\Smartppt.Application.6] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppt\Smartppt.Application.6\ShellNew] "FileName"="newfile.ppt" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppt\ShellEx] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppt\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}] @="{65235197-874B-4A07-BDC5-E65EA825B718}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.prd] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.prs] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.prv] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pps] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pptx] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pptm] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppsx] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppsm] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.prd] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pot] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.potx] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.potm] @="Smartppt.Application.6" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6] @="Excel表格 工作簿" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\CLSID] @="{45540003-5750-5300-4B49-4E47534F4654}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\DefaultIcon] @="X:\\Program Files\\minioffice\\Excel.exe,w" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\DocObject] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\Insertable] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\Programmable] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\shell] @="open" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\shell\edit] @="编辑(&E)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\shell\edit\command] @="\"X:\\Program Files\\minioffice\\Excel.exe\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\shell\new] @="新建(&N)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\shell\new\command] @="\"X:\\Program Files\\minioffice\\Excel.exe\" /t \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\shell\open] @="打开(&O)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\shell\open\command] @="\"X:\\Program Files\\minioffice\\Excel.exe\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\shell\print] @="打印(&P)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Workbook.6\shell\print\command] @="\"X:\\Program Files\\minioffice\\Excel.exe\" /n /p \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8] @="word文字 文档" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\CLSID] @="{00020906-0000-4b30-A977-D214852036FE}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\DefaultIcon] @="X:\\Program Files\\minioffice\\word.exe,1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\DocObject] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\Insertable] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\Programmable] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\shell] @="open" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\shell\edit] @="编辑(&E)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\shell\edit\command] @="\"X:\\Program Files\\minioffice\\word.exe\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\shell\new] @="新建(&N)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\shell\new\command] @="\"X:\\Program Files\\minioffice\\word.exe\" /t \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\shell\open] @="打开(&O)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\shell\open\command] @="\"X:\\Program Files\\minioffice\\word.exe\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\shell\print] @="打印(&P)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8\shell\print\command] @="\"X:\\Program Files\\minioffice\\word.exe\" /n /p \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6] @="Smartppt演示 幻灯片" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\CLSID] @="{44720441-94BF-4940-926D-4F38FECF2A47}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\DefaultIcon] @="X:\\Program Files\\minioffice\\Smartppt.exe,1" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\DocObject] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\Insertable] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\Programmable] @="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\shell] @="open" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\shell\edit] @="编辑(&E)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\shell\edit\command] @="\"X:\\Program Files\\minioffice\\Smartppt.exe\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\shell\new] @="新建(&N)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\shell\new\command] @="\"X:\\Program Files\\minioffice\\Smartppt.exe\" /t \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\shell\open] @="打开(&O)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\shell\open\command] @="\"X:\\Program Files\\minioffice\\Smartppt.exe\" \"%1\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\shell\print] @="打印(&P)" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Smartppt.Application.6\shell\print\command] @="\"X:\\Program Files\\minioffice\\Smartppt.exe\" /n /p \"%1\"" |
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.