标题: 字符串批量修改器
[打印本页]
作者: greenldy
时间: 2008-8-7 21:06
标题: 字符串批量修改器
字符串批量修改,因为新人,不晓得论坛里有没有也不晓得有用否,权当尽力吧
基本用法: BINSUB 文件名 "旧字符串" "新字符串" /I
附件
1:
BINSUB.rar (2008-8-7 21:06, 15.96 K,下载次数: 18)
作者: HAT
时间: 2008-8-7 22:45
跟change.exe相比,优势在哪里?
作者: knoppix7
时间: 2008-8-8 12:50
可以替换不可显示的字符[ASCII控制字符之类的吧]
BINSUB 2.1 (c)1999 by Peter Enzerink -
pedro@bytepeople.com - FREEWARE
Syntax:
BINSUB {filename} @{oldfile}|{oldpattern} @{newfile}|{newpattern} [/I]
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