![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-08-09 09:27 |
共 47,811 主题排行 / 349,895 发帖 / 今日 0 篇 / 48,253 会员排行 |
| DOS批处理 & 脚本技术(批处理室) » 字符串批量修改器 |
| 可打印版本 886 / 2 |
| 第1楼 greenldy | 发表于 2008-08-07 21:06 |
| 初级用户 发帖 15 积分 38 | |
|
字符串批量修改器 字符串批量修改,因为新人,不晓得论坛里有没有也不晓得有用否,权当尽力吧
基本用法: BINSUB 文件名 "旧字符串" "新字符串" /I 附件 BINSUB.rar (15.96 KiB) |
|
| 第2楼 HAT | 发表于 2008-08-07 22:45 |
| 版主 发帖 5,017 积分 9,023 | |
|
跟change.exe相比,优势在哪里?
|
|
| 第3楼 knoppix7 | 发表于 2008-08-08 12:50 |
| 银牌会员 发帖 634 积分 1,287 来自 cmd.exe | |
|
可以替换不可显示的字符
BINSUB 2.1 (c)1999 by Peter Enzerink - pedro@bytepeople.com - FREEWARE Syntax: BINSUB {filename} @{oldfile}|{oldpattern} @{newfile}|{newpattern} You may specify non-printing characters by using the pattern: '/nnn' where nnn is a three digit decimal number. Strings including spaces may be wrapped by double quotes following the DOS convention. You may also use '/032' to represent a space. Use /I for a case insensitive search. Also note that when using double quotes to delimit a parameter, if the new or old pattern ends in a \, it should be represented as \\" rather than \" due to \" being translated by DOS as a literal " rather than a delimiter. You cannot search for a pattern containing '/nnn' since it will be interpreted as a special character rather than a normal sequence of characters. You could of course scan for '/047nnn' which would search for '/nnn'. Return Codes: 1 Incorrect number of parameters 2 Unable to open input file 3 Unable to open output file 4 Unable to open {oldpattern} file 5 Unable to open {newpattern} file 8 Unable to allocate required storage |
|
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |