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:请访问
批处理编程的异类 ,欢迎交流与共享批处理编程心得!