![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-16 02:51 |
47,813 topics / 349,903 posts / today 1 new / 48,258 members |
| DOS疑难解答 & 问题讨论 (解答室) » What DOS program can replace data in binary files? |
| Printable Version 1,263 / 1 |
| Floor1 atoms | Posted 2003-09-04 00:00 |
| 初级用户 Posts 28 Credits 182 | |
|
If it can be used on the command line, then it can be written into an automatic batch file.
Find and replace, or start at a certain byte position and overwrite 3 bytes, for example: 888 If not, then I'll just write one myself. |
|
| Floor2 willsort | Posted 2003-09-17 00:00 |
| 元老会员 Posts 1,512 Credits 4,432 | |
|
Re atoms:
change will do. It can be used on the command line, and its output can be suppressed, though the parameters are a bit troublesome. It used to be available for download in the New DOS Age. String usage: change filename /form apple /to banana Decimal usage: change filename /from \010 /to \010\013 Hex usage: change filename /from &h0a /to &h0d&h0a Also, one called hexc.exe works too, and the parameters are relatively simple. I originally downloaded it from "Qibu": String usage: hexc oldfile newfile "string1" "string2" Hex usage: hexc oldfile newfile 0a 0d0a Mixed usage: hexc oldfile newfile "apple"0d0a "apple"0d0a" " |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |