![]() |
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-11 04:43 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » How to convert the code after EXE to BAT into text |
| Printable Version 3,135 / 15 |
| Floor1 kafen | Posted 2007-01-28 02:50 |
| 初级用户 Posts 43 Credits 97 | |
|
How to convert the code after EXE is converted to BAT into text?
There are programs like EXE2BAT circulating on the Internet, but after the EXE is converted by it, it becomes as follows: @echo e 100 4D 5A 90 00 03 00 00 00 04 00 00 00 FF FF 00 00 >>tmp11 @echo e 110 B8 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 >>tmp11 @echo e 120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11 How can this be understood? May I ask how to convert these into understandable batch processing? Of course, first determine that the EXE is converted from BAT. Thank you! By the way, an EXE converted from a batch processing is attached. Please help experts to see its batch processing source code. It's very strange... [ Last edited by namejm on 2007-3-13 at 06:15 PM ] Attachments 123.rar (44.66 KiB) |
|
| Floor2 kafen | Posted 2007-01-28 05:34 |
| 初级用户 Posts 43 Credits 97 | |
|
Isn't it said that when a BAT is converted to an EXE, the original BAT will be generated in TEMP during runtime? Why doesn't this one show up, and how is it achieved? Please help the experts explain, thanks!
|
|
| Floor3 liuyilin | Posted 2007-01-30 10:03 |
| 初级用户 Posts 16 Credits 38 | |
| Floor4 Michael | Posted 2007-01-30 22:51 |
| 钻石会员 Posts 3,041 Credits 10,056 | |
|
Actually, it's just type 1.exe > 2.exe
|
|
| Floor5 hngaoshou | Posted 2007-01-30 23:27 |
| 社区乞丐 Posts 77 Credits -16 | |
|
Just modify the postscript. Change the bat to exe.
|
|
| Floor6 163lom | Posted 2007-02-10 19:09 |
| 初级用户 Posts 14 Credits 27 | |
|
>
Otherwise, a TMP file cannot be created (because >> is an append command, which can only append the required content in the file, etc.) Hope it helps you a bit |
|
| Floor7 163lom | Posted 2007-02-10 19:11 |
| 初级用户 Posts 14 Credits 27 | |
|
By the way, the default generated BAT has the DEBUG command line (that is, re-encoding the file through DEBUG), so when the P processing is executed to the end, you will see a file with the filename specified at the end of the P processing generated in the directory. If the filename is in Chinese, the filename will become garbled after re-encoding (because DEBUG does not support Chinese versions), even if double quotes are added, it doesn't work, so frustrating...
|
|
| Floor8 niujun8800 | Posted 2007-03-14 07:03 |
| 新手上路 Posts 1 Credits 2 | |
|
My original batch file is lost!
|
|
| Floor9 zmh1982228 | Posted 2007-05-28 14:34 |
| 新手上路 Posts 1 Credits 0 | |
|
sssssssssssssssssssssssssss
|
|
| Floor10 lxmxn | Posted 2007-05-28 21:52 |
| 版主 Posts 4,938 Credits 11,386 | |
|
Don't post water content in this section, upstairs.
|
|
| Floor11 xiamingjun2001 | Posted 2007-06-01 14:00 |
| 新手上路 Posts 1 Credits 1 | |
|
I don't understand, but I'll give you a bump.
|
|
| Floor12 zhenglei | Posted 2007-07-09 21:10 |
| 新手上路 Posts 1 Credits 0 | |
| Floor13 pcbridge | Posted 2007-12-31 13:05 |
| 新手上路 Posts 1 Credits 2 | |
|
Can't download...
|
|
| Floor14 londragon | Posted 2008-01-13 16:54 |
| 新手上路 Posts 8 Credits 16 | |
|
Oh, what a pain... Really...
|
|
| Floor15 lantu | Posted 2008-10-04 16:50 |
| 初级用户 Posts 15 Credits 26 | |
|
I don't know how to call for action, and I don't understand either
|
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |