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-01 11:12
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Wegier, how to package batch processing and related software into an EXE?? : ) View 2,944 Replies 13
Original Poster Posted 2003-08-18 00:00 ·  中国 广西 玉林 电信
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
Wengier and all great experts, I want to ask if there is any software that can package batch files (*.BAT) and the software (*.exe, *.bat, etc.) that the batch processing needs to call into an EXE file together, and this EXE can run under DOS
Floor 2 Posted 2003-08-18 00:00 ·  中国 广西 柳州 电信
高级用户
★★★
Credits 915
Posts 309
Joined 2002-12-22 00:00
23-year member
UID 567
Gender Male
Status Offline
???
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=11&ID=6064
Floor 3 Posted 2003-08-18 00:00 ·  中国 广西 玉林 电信
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
The following is a quote from LK on 2003-8-18 11:54:51:
???
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=11&ID=6064


Stingy, holding a grudge so much, I just wanted to make the directory neater...
Floor 4 Posted 2003-08-18 00:00 ·  中国 广西 南宁 联通
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
I agree!!!!!

Everyone, come on and talk!!! (LK, don't gloat)
Floor 5 Posted 2003-08-18 00:00 ·  中国 香港 有线电视
管理员
★★★★
專業島民
Credits 4,869
Posts 1,633
Joined 2002-12-10 00:00
23-year member
UID 465
Gender Male
Status Offline
The following is a quote from ylpoplove on 2003-8-18 11:31:32:
Dear Wengier and all experts, I would like to ask if there is any software that can package batch files (*.BAT) and the software (*.exe, *.bat, ...) that the batch processing needs to call into an EXE file together. This EXE should be able to run under DOS.
Why not package it into ARJ SFX?
我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
Floor 6 Posted 2003-08-18 00:00 ·  中国 广西 南宁 联通
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
ARJ SFX???

Can you briefly talk about it, ROY? You are now a prominent figure in the DOS forum. Please explain, I'm all ears
Floor 7 Posted 2003-08-18 00:00 ·  中国 广西 南宁 联通
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
1. Can it be self-extracted with command-line parameters under DOS?
2. Can it automatically run a specified software after self-extraction?
3. Can it automatically return to the original position after running?
Thanks
Floor 8 Posted 2003-08-19 00:00 ·  中国 广东 广州 联通
银牌会员
★★★
Credits 1,451
Posts 446
Joined 2002-10-20 00:00
23-year member
UID 29
Gender Male
Status Offline
Rtd.exe, xlink and so on are all okay.
Floor 9 Posted 2003-08-19 00:00 ·  中国 广西 玉林 电信
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
The following is a quote from pfox on 2003-8-19 1:14:34:
Rtd.exe, xlink and so on are all okay.


Oh, really? I'll check some information on the Internet first, thanks
Floor 10 Posted 2003-08-19 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
22-year member
UID 7953
Gender Male
Status Offline
BAT2EXE -- but some commands (e.g. for, if) are unstable
BAT TO EXE -- a bit stronger

It is best to use SFX (like the one mentioned upstairs) -- but a virtual disk or temporary directory is needed

so.. QBASIC is the best.. it is my fav.!
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Floor 11 Posted 2003-08-19 00:00 ·  中国 广西 玉林 电信
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
I checked some information online and thought that the XLINK and RTD DAT mentioned by PFOX can probably link the EXE or files that a batch script converted to EXE using BAT2EXE needs to call. But maybe because these two software are too old, I searched for a long time and couldn't find them...

Let's discuss it everyone: ) It's definitely a step forward compared to some boot disks that set up temporary directories...

QBASIC is temporarily not considered, because it's not as good as trying to learn C language, haha...
Floor 12 Posted 2003-08-19 00:00 ·  中国 广西 玉林 电信
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
QbasiC?? Just because I'm too lazy to learn programming... : )

But if I'm motivated to learn programming, I think it's better to learn the C language, but I have C# installed on my computer. However, programs written in C# can't run under DOS. But I really like making boot disks that do something before officially entering the graphical window...

Alas, really conflicting and exploring...
Everyone, do you have any good suggestions: )
Floor 13 Posted 2003-08-19 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
22-year member
UID 7953
Gender Male
Status Offline
QBASIC is too simple... No need to learn (just look at the primary school QBASIC textbook)
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Floor 14 Posted 2003-08-19 00:00 ·  中国 广西 南宁 联通
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
The following is a quote from iceboy at 18:22:50 on 2003-8-19:
QBASIC is too simple... No need to learn (just look at the primary school QBASIC textbook)


Oh………, I don't know if ICEBOY is helping me or stepping on me hard, ha……
Forum Jump: