China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-18 07:56
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Essential Tools for Beginners (exe2bat) View 2,528 Replies 9
Original Poster Posted 2006-03-28 09:48 ·  中国 北京 顺义区 联通
银牌会员
★★★
DOS联盟捡破烂的
Credits 1,144
Posts 425
Joined 2005-10-20 00:00
20-year member
UID 43784
From 北京
Status Offline
Floor 2 Posted 2006-03-28 14:51 ·  中国 广东 深圳 福田区 电信
初级用户
★★
Credits 133
Posts 57
Joined 2006-03-15 23:12
20-year member
UID 52128
Status Offline
What does it mean? I don't understand.
Can the owner of the post explain it more clearly?
I'm a newbie!
Floor 3 Posted 2006-03-29 16:35 ·  中国 山西 太原 中移铁通
元老会员
★★★★
Batchinger
Credits 4,432
Posts 1,512
Joined 2002-10-18 00:00
23-year member
UID 19
Gender Male
Status Offline
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
※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得!
Floor 4 Posted 2006-03-30 09:08 ·  中国 北京 顺义区 联通
银牌会员
★★★
DOS联盟捡破烂的
Credits 1,144
Posts 425
Joined 2005-10-20 00:00
20-year member
UID 43784
From 北京
Status Offline
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...
Floor 5 Posted 2006-03-30 17:26 ·  中国 安徽 合肥 电信
新手上路
Credits 6
Posts 3
Joined 2006-03-30 17:03
20-year member
UID 53066
Gender Male
From 安徽合肥市
Status Offline
I can't understand it very well~ Can you explain it more clearly?
Floor 6 Posted 2006-03-31 08:59 ·  中国 北京 顺义区 联通
银牌会员
★★★
DOS联盟捡破烂的
Credits 1,144
Posts 425
Joined 2005-10-20 00:00
20-year member
UID 43784
From 北京
Status Offline
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.
Floor 7 Posted 2006-05-28 14:37 ·  中国 安徽 马鞍山 电信
新手上路
Credits 18
Posts 10
Joined 2006-03-16 04:28
20-year member
UID 52144
Status Offline
I can't understand, expert.
Floor 8 Posted 2006-05-29 18:52 ·  中国 四川 眉山 联通
新手上路
Credits 12
Posts 4
Joined 2006-05-29 16:32
20-year member
UID 56209
Status Offline
Floor 9 Posted 2006-06-29 20:36 ·  中国 四川 广安 电信
新手上路
Credits 18
Posts 7
Joined 2006-06-22 19:55
20-year member
UID 57421
Gender Male
Status Offline
Floor 10 Posted 2006-07-09 18:18 ·  中国 江苏 苏州 电信
初级用户
★★
Credits 160
Posts 75
Joined 2006-06-28 01:07
20-year member
UID 57661
Gender Male
Status Offline
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
Forum Jump: