- 帖子
- 754
- 积分
- 973
- 技术
- 4
- 捐助
- 0
- 注册时间
- 2021-8-30
|
在批处理文件中可以用 Regedit.exe 执行 .reg 文件,
能不能倒过来,在 .reg 文件里执行或引用批处理 .c ...
Shuye 发表于 2023-2-6 16:17
楼主的意思是不是跟下面差不多:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Item1]
"MUIVerb"="刷新"
"SubCommands"=""
"Icon"="%SystemRoot%\\system32\\shell32.dll,238"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Item1\shell]
[HKEY_CLASSES_ROOT\Directory\Background\shell\Item1\shell\Item0]
"MUIVerb"="刷新任务栏"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Item1\shell\Item0\command]
@="D:\\PE整理碎片(很好)\\修改PE\\程序\\刷新系统-任务栏\\刷新任务栏.bat"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Item1\shell\Item1]
"MUIVerb"="刷新Explorer"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Item1\shell\Item1\command]
@="D:\\PE整理碎片(很好)\\修改PE\\程序\\刷新系统-任务栏\\刷新系统.bat" |
|