![]() |
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-09-23 12:55 |
47,812 topics / 349,917 posts / today 0 new / 48,273 members |
| DOS批处理 & 脚本技术(批处理室) » How to write a batch file into an .EXE file? |
| Printable Version 4,784 / 22 |
| Floor1 飘逸 | Posted 2004-02-23 00:00 |
| 初级用户 Posts 21 Credits 185 | |
|
I have seen such a file. In GHOST, there are no batch files at all. All are in a.CAB compressed package. And the files in the compressed package are all.4EXE. What's going on? Could it be that batch files can also be written as.EXE?
|
|
| Floor2 profree | Posted 2004-02-24 00:00 |
| 中级用户 Posts 132 Credits 478 | |
|
Download a batlite to convert bat to com
|
|
| Floor3 Kinglion | Posted 2004-02-25 00:00 |
| 铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室 | |
|
The batch file compilation tool I modified: Open attachment
|
|
| Floor4 smal | Posted 2004-02-25 00:00 |
| 初级用户 Posts 2 Credits 110 | |
| Floor5 smal | Posted 2004-02-25 00:00 |
| 初级用户 Posts 2 Credits 110 | |
| Floor6 Kinglion | Posted 2004-02-26 00:00 |
| 铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室 | |
|
Note that the batch compilation program I uploaded can only be executed in command line mode. Running without parameters will display help information.
|
|
| Floor7 飘逸 | Posted 2004-02-26 00:00 |
| 初级用户 Posts 21 Credits 185 | |
|
I downloaded such a tool. But I don't know how to use it! Please ask an expert for guidance. Or give a data address is also okay!
|
|
| Floor8 xiaojun | Posted 2004-02-26 00:00 |
| 银牌会员 Posts 499 Credits 2,202 | |
|
Program followed by your Bat file
|
|
| Floor9 飘逸 | Posted 2004-02-27 00:00 |
| 初级用户 Posts 21 Credits 185 | |
|
For example, my conversion program is on drive H. The batch file is on drive G. Should it be written like this in the command prompt?
H:\BAT2EXEC.COM 1.BAT Is that right? So this directly converts this batch file into an executable file, right! |
|
| Floor10 xiaojun | Posted 2004-02-28 00:00 |
| 银牌会员 Posts 499 Credits 2,202 | |
|
H:\bat2exec g:\1.bat
|
|
| Floor11 飘逸 | Posted 2004-02-28 00:00 |
| 初级用户 Posts 21 Credits 185 | |
|
Thanks to this fellow for his help.
But I still want to ask. How to load and run the generated file? Is it added to CONFIG.SYS or to AUTOEXEC.BAT? Thanks! |
|
| Floor12 happy_dog | Posted 2004-02-28 00:00 |
| 初级用户 Posts 47 Credits 317 | |
|
It has doubled in size after conversion!
|
|
| Floor13 ZZY | Posted 2004-02-29 00:00 |
| 初级用户 Posts 5 Credits 125 | |
| Floor14 飘逸 | Posted 2004-03-01 00:00 |
| 初级用户 Posts 21 Credits 185 | |
|
Are the made files loaded in CONFIG or in AUTOEXEC?
Thanks! |
|
| Floor15 Kinglion | Posted 2004-03-01 00:00 |
| 铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室 | |
|
If you want the program to run automatically when the computer starts, add the program to the AUTOEXEC.BAT file.
Note: This method is not valid in WINDOWS 2000, WINDOWS XP, and WINDOWS 2003. |
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |