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-06-25 05:17
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Post a small program BAT2EXE.exe View 6,153 Replies 16
Original Poster Posted 2007-03-26 10:52 ·  中国 江苏 扬州 中移铁通
初级用户
Credits 90
Posts 32
Joined 2007-01-14 09:19
19-year member
UID 76479
Gender Male
Status Offline
Post a small program BAT2EXE.exe

Hope everyone likes it

Not tested哦

----
I ran it and got the following prompt:
I converted a bat file and the processed one is a同名的com file


BAT2EXEC 1.5 (c) 1990, 1991 Ziff Communications Co.
PC Magazine ■ Douglas Boling

Syntax: BAT2EXEC filename.ext

[ Last edited by mygoldnet on 2007-3-25 at 09:58 PM ]
Attachments
BAT2EXE.rar (5.36 KiB, Downloads: 656)
Floor 2 Posted 2007-03-26 10:54 ·  中国 山东 滨州 联通
初级用户
Credits 40
Posts 14
Joined 2007-03-23 11:25
19-year member
UID 82659
Gender Male
Status Offline
It doesnap work, it flashes by in an instant
Floor 3 Posted 2007-03-26 22:09 ·  中国 贵州 六盘水 移动
初级用户
Credits 24
Posts 13
Joined 2007-03-23 04:55
19-year member
UID 82620
Gender Male
Status Offline
Floor 4 Posted 2007-03-27 01:33 ·  中国 河北 石家庄 联通
初级用户
Credits 52
Posts 28
Joined 2007-03-26 14:52
19-year member
UID 82981
Gender Male
From 河北省辛集市
Status Offline
Please provide the specific content in Chinese that needs to be translated so that I can assist you.
Floor 5 Posted 2007-03-27 13:43 ·  中国 陕西 西安 电信
新手上路
Credits 10
Posts 5
Joined 2007-02-27 11:47
19-year member
UID 80312
Gender Male
Status Offline
Floor 6 Posted 2007-03-27 13:51 ·  中国 广东 广州 联通
银牌会员
★★★
Credits 1,206
Posts 517
Joined 2007-03-25 01:18
19-year member
UID 82819
Gender Male
Status Offline
I've had this thing for a long time.

The bug is that it can only handle sequentially executed bat files.

If there are label judgment branches inside, it becomes invalid.
Floor 7 Posted 2007-03-27 17:58 ·  中国 江苏 苏州 电信
中级用户
★★
我是DOS学者
Credits 367
Posts 180
Joined 2006-05-14 10:53
20-year member
UID 55507
Gender Male
From 重庆
Status Offline
Actually, it's not converted to an exe. It's just converted to a com. As for the second floor, the usage is:

Executable file (the program you downloaded) * the.bat (your batch file)

This will generate a com with the same name
Floor 8 Posted 2007-03-27 21:39 ·  中国 湖北 荆州 联通
初级用户
Credits 53
Posts 24
Joined 2007-02-13 10:41
19-year member
UID 79385
Gender Male
Status Offline
So it's used like this. Thanks!
Floor 9 Posted 2008-10-22 15:58 ·  中国 北京 海淀区 电信
新手上路
Credits 11
Posts 7
Joined 2008-10-08 12:12
17-year member
UID 127763
Gender Male
Status Offline
I tried it and generated a .com file with the same name, but it can also be used by directly renaming it to .exe, he.
Floor 10 Posted 2008-10-22 16:58 ·  中国 江西 九江 电信
初级用户
Credits 41
Posts 32
Joined 2008-10-16 00:11
17-year member
UID 128490
Gender Male
Status Offline
I've had this program for a long time..
After conversion, it cannot be used under a real pure DOS.
Floor 11 Posted 2009-12-05 18:43 ·  中国 北京 联通
新手上路
Credits 3
Posts 3
Joined 2009-12-01 16:18
16-year member
UID 155740
Gender Male
Status Offline
Not very clear what a .com file is. Learning batch processing hard. Continue to follow the expert's good posts
Floor 12 Posted 2009-12-07 23:24 ·  中国 浙江 绍兴 电信
新手上路
Credits 2
Posts 2
Joined 2009-06-11 11:57
17-year member
UID 147170
Gender Male
Status Offline
A bit small, but not as powerful as quickbfc.exe. This software can add external executable files into an exe compiled from a bat.
Floor 13 Posted 2010-05-09 23:32 ·  中国 河南 郑州 联通
新手上路
Credits 1
Posts 1
Joined 2010-05-08 00:04
16-year member
UID 166343
Gender Male
Status Offline
Floor 14 Posted 2010-05-10 13:17 ·  中国 北京 电信
初级用户
★★
Credits 90
Posts 57
Joined 2010-04-12 13:29
16-year member
UID 164386
Gender Male
Status Offline
Thanks for sharing!!!
Floor 15 Posted 2010-05-10 17:03 ·  中国 广东 佛山 顺德区 电信
初级用户
★★
Credits 151
Posts 106
Joined 2009-10-09 21:24
16-year member
UID 152856
Gender Male
From 河南省
Status Offline
What on earth is this,,,, Please tell me how to use it
Forum Jump: