Board logo

标题: [注册表类] grepWin单文件版中文添加右键菜单 [打印本页]

作者: xp3000    时间: 2020-5-14 21:55     标题: grepWin单文件版中文添加右键菜单

本帖最后由 xp3000 于 2020-5-14 21:56 编辑

作用:右键添加grepWin选项,添加后方便批量操作文件
http://bcn.bathome.net/s/tool/index.html?key=grepWin
本次由注册表照相机提取系统变化后转换,
熟悉注册表的都是直接去下面提取
HKLM\SOFTWARE\Classes\Directory\shell\
  1. @echo off
  2. @for /f %%a in ('dir /a/s/b/on grepWin.exe') do (
  3. reg add "HKLM\SOFTWARE\Classes\Directory\shell\grepWin" /f /v "Icon" /t REG_SZ /d ""%%a",-107"
  4. reg add "HKLM\SOFTWARE\Classes\Directory\shell\grepWin\command" /f /ve /t REG_SZ /d ""%%a" /searchpath:\"%%1\""
  5. reg add "HKCR\*\shell\grepWin" /f /v "Icon" /t REG_SZ /d ""%%a",-107"
  6. reg add "HKCR\*\shell\grepWin\command" /f /ve /t REG_SZ /d ""%%a" /searchpath:\"%%1\""
  7. )
  8. pause
复制代码
grepWin英文版菜单翻译,和grepWin放一起
[attach]12545[/attach]
Settings更改English为Chinese




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2