中国DOS联盟论坛

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-18 07:04
47,814 topics / 349,907 posts / today 4 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » Essential Tools for Beginners (exe2bat)
Printable Version  2,527 / 9
Floor1 bagpipe Posted 2006-03-28 09:48
银牌会员 Posts 425 Credits 1,144 From 北京
Floor2 kingchain Posted 2006-03-28 14:51
初级用户 Posts 57 Credits 133
What does it mean? I don't understand.
Can the owner of the post explain it more clearly?
I'm a newbie!
Floor3 willsort Posted 2006-03-29 16:35
元老会员 Posts 1,512 Credits 4,432
Re bagpipe:

The encoding scheme of this kind of EXE's BAT requires the support of the external program debug, and the program volume increases more than three times, which is usually not suitable. There is a better improvement scheme - "ASCII assembly", using commonly used ASCII characters to write assembly code, so that there is no need to use debug to convert ASCII to Binary, and the Binary program occupies a smaller volume.

This kind of assembly method is divided into two categories, one is directly convert ASCII code to binary i code interpretation, but this method requires enough skills on assembly code and machine code, currently only a few people can design this kind of code, the BAT program encoded according to this scheme is also rare; one is to decode ASCII code through a coding scheme similar to MIME in email to binary code, now there is a quite mature ASCII-BINAEY conversion algorithm on the network, can directly refer to encode and decode, the disadvantage of this scheme is that it will increase the volume of Binary program by about 1.5 times.

About the waiting program such as SLEEP, there is such a scheme, refer to

The odd kind of batch programming - clock (Clock)
http://www.cn-dos.net/forum/viewthread.php?tid=8905#pid54227
Floor4 bagpipe Posted 2006-03-30 09:08
银牌会员 Posts 425 Credits 1,144 From 北京
Learned it!!!!! First of all, I want to say that this method is not the best, but I still hope that friends can at least know this method. At least this is also a way to upload files. Here, I thank the moderator WILLSORT for the guidance...
Floor5 sj5200258975 Posted 2006-03-30 17:26
新手上路 Posts 3 Credits 6 From 安徽合肥市
I can't understand it very well~ Can you explain it more clearly?
Floor6 bagpipe Posted 2006-03-31 08:59
银牌会员 Posts 425 Credits 1,144 From 北京
Please have Brother WILLSORT give an example, preferably giving an example of the ASCII-BINAEY conversion algorithm, so that we can also learn. The first method that Brother said seems like I saw it elsewhere, it was written by Brother Yuan the big rabbit. Indeed, that kind of encoding looks headache-inducing and has no readability at all. So please, Brother WILLSORT, give some good suggestions and examples on this issue. I thank Brother first.
Floor7 wudongjin Posted 2006-05-28 14:37
新手上路 Posts 10 Credits 18
I can't understand, expert.
Floor8 administrator Posted 2006-05-29 18:52
新手上路 Posts 4 Credits 12
Floor9 gdgdgh Posted 2006-06-29 20:36
新手上路 Posts 7 Credits 18
Floor10 buddiyar Posted 2006-07-09 18:18
初级用户 Posts 75 Credits 160
I have always admired Brother willsort a lot.
"For this type of EXE's BAT coding scheme, it requires the support of the external program debug, and the program size increases by more than three times, which is usually not suitable to adopt. There is a better improvement scheme for this - 'ASCII assembly', using commonly used ASCII characters to write assembly code, so that there is no need to use debug to convert ASCII to Binary, and also reduce the size of the Binary program. "
But debug and ASCII are undoubtedly a天书 to a rookie like me.
Those I don't understand, I have to settle for the next best thing and use this exe2bat.
Hehe
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023