中国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-11 07:36
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » Converting bat to com with bat2com has a very low success rate!?
Printable Version  2,154 / 1
Floor1 biobio Posted 2006-06-18 19:31
初级用户 Posts 44 Credits 162
I tried bat2com, and it doesn't seem very good.

The bat file that could run normally at first can't run at all after being converted to com.

What's the matter? Is there a solution?

http://upload.cn-dos.net/img/946.zip

───────────────── Moderation Record ─────────────────
Performed by: HAT
Operation: Helped the owner upload the attachment
───────────────── Moderation Record ─────────────────


[ Last edited by HAT on 2008-10-15 at 20:12 ]
Floor2 willsort Posted 2006-06-18 19:48
元老会员 Posts 1,512 Credits 4,432
Re:

Almost all conversion software under DOS such as bat2com/bat2exe have various compatibility issues. Most of them do not support certain features or special syntax of batch processing, such as command line parameters, IO redirection, command pipelines, ERRORLEVEL, etc. There have been many discussions about this before.

The currently popular shell packing under Windows has solved many problems, but its compatibility cannot be guaranteed. In many cases, it is the author who writes the batch shell in a high-level language to achieve conversion to avoid certain special compatibility issues.

[ Last edited by willsort on 2006-6-18 at 19:55 ]
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023