作者:atoms | 时间:2003-09-04 00:00 | 标题:DOS哪个程序能对二进制文件替换?
能用在命令行中,就能写入自动批入理中了。
查找替换,或者某字节处开始覆盖写入3个字节,如:888
如果没有就自己编一个了。
作者:willsort | 时间:2003-09-17 00:00
Re atoms:
change就可以,可用于命令行,可屏蔽输出信息,不过参数麻烦一点, 新dos时代就有下载
字符串用法:change filename /form apple /to banana
十进制用法:change filename /from \010 /to \010\013
十六进制用法:change filename /from &h0a /to &h0d&h0a
另外,一个叫hexc.exe也可以,参数相对简单,我当初从“起步”下载的:
字符串用法:hexc oldfile newfile "string1" "string2"
十六进制用法:hexc oldfile newfile 0a 0d0a
混合用法:hexc oldfile newfile "apple"0d0a "apple"0d0a" "