发布网友 发布时间:2022-04-22 21:55
共2个回答
热心网友 时间:2023-10-15 10:26
如果你想不每次都去清空回收站,那你删除的时候按住shift
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryackgroundshellempty]
"CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
"Icon"="shell32.dll,-254"
"MUIVerb"="@shell32.dll,-105"
[HKEY_CLASSES_ROOTDirectoryackgroundshellemptycommand]
"DelegateExecute"="{48527bb3-e8de-450b-10-8c4099cb8624}"
以记事本复制以上,保存为xx.reg文件,双击导入注册表即可添加鼠标右键清空回收站。
热心网友 时间:2023-10-15 10:26
编辑两个文件
如果是BAT批处理文件,那么内容是
bat文件方法:
> "%Temp%.\DefOpen.reg" ECHO Windows Registry Editor Version 5.00
>>"%Temp%.\DefOpen.reg" ECHO.
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\empty]
>>"%Temp%.\DefOpen.reg" ECHO "CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
>>"%Temp%.\DefOpen.reg" ECHO "Description"="@shell32.dll,-31332"
>>"%Temp%.\DefOpen.reg" ECHO "Icon"="shell32.dll,-254"
>>"%Temp%.\DefOpen.reg" ECHO "MUIVerb"="@shell32.dll,-105"
>>"%Temp%.\DefOpen.reg" ECHO.
>>"%Temp%.\DefOpen.reg" ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\empty\command]
>>"%Temp%.\DefOpen.reg" ECHO "DelegateExecute"="{48527bb3-e8de-450b-10-8c4099cb8624}"
>>"%Temp%.\DefOpen.reg" ECHO.
>>"%Temp%.\DefOpen.reg" ECHO.
START /WAIT REGEDIT "%Temp%.\DefOpen.reg"
DEL "%Temp%.\DefOpen.reg"
如果是注册表文件,那么文件内容是
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\empty]
"CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
"Description"="@shell32.dll,-31332"
"Icon"="shell32.dll,-254"
"MUIVerb"="@shell32.dll,-105"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\empty\command]
"DelegateExecute"="{48527bb3-e8de-450b-10-8c4099cb8624}"
制作文件方法是,新建文本文档 复制进去 保存的时候 选择所有文件 后缀名加上.BAT 或者.REG
专业快速解答望采纳