中国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-09-25 01:11
47,813 topics / 349,918 posts / today 1 new / 48,274 members
DOS学习入门 & 精彩文章 (教学室) » How to make an exe or com file
Printable Version  25,335 / 62
Floor1 arjack0359 Posted 2006-01-26 13:12
新手上路 Posts 1 Credits 6
I want to make a few simple DOS commands, such as
regsvr32 c\:windwons\system\xx.ocx
into an EXE or COM executable file, so that users don't need to type these statements, just click the EXE or COM file and it will execute automatically. I hope all you brothers can help me! Urgent

Also, put an xx.ocx file in the same directory as the above EXE or COM, and use the copy command to copy it to c:\windows\system. How to write the statement??? It's better to use a relative path. Please help everyone, thank you
Floor2 zhgwbzhd Posted 2006-01-26 18:06
高级用户 Posts 187 Credits 506
There is a tool that can convert batch files into COM files. Please look for it online.
Floor3 JonePeng Posted 2006-01-26 19:51
金牌会员 Posts 1,883 Credits 4,562 From 广东广州

Attachments
BAT2COM.rar (5.36 KiB)
Floor4 taoty Posted 2006-01-30 15:10
中级用户 Posts 112 Credits 275
Come in to learn, received.
Floor5 aldenfish Posted 2006-04-08 17:40
初级用户 Posts 18 Credits 135
Received a good thing, thank you!!
Floor6 fdsiuha Posted 2006-04-08 18:52
高级用户 Posts 302 Credits 587
You can also make an installation version with INSTALLSHIELD.
Floor7 bagpipe Posted 2006-04-09 09:02
银牌会员 Posts 425 Credits 1,144 From 北京
There seems to be one in my USB flash drive, called something like a batch processing conversion tool. The address: http://bagpipe.ys168.com Brother JonePeng's is also a good tool. Since I came to the DOS Union, I've realized there are really so many things to learn!!!!!
Floor8 tsenix Posted 2006-04-22 12:21
初级用户 Posts 61 Credits 121 From HK
Can you make a bat file? Because.com and.exe sometimes have poor support in the Windows system...
Floor9 flysp Posted 2006-04-24 06:13
中级用户 Posts 41 Credits 207
Let me see, thank you. I've been looking for it all the time. But before, I only used to convert to COM, and I haven't seen converting to EXE yet, haha. I've saved it. Got it
Floor10 wchong Posted 2006-07-06 09:38
银牌会员 Posts 510 Credits 1,186
It's in the "Qibu DOS" website.
Floor11 IceCrack Posted 2006-07-17 22:29
中级用户 Posts 168 Credits 332 From 天涯
exescript 这个应该不错的.可以一试的

Exescript this should be pretty good. Can give it a try
Floor12 numen Posted 2006-07-18 14:35
初级用户 Posts 13 Credits 46
Elders have taught me not to be stingy with saying "thank you"
Thank you!
Floor13 3dfx Posted 2006-09-04 00:02
高级用户 Posts 195 Credits 721
Aren't you trying to make a Trojan horse?````````````````
Floor14 cocobi Posted 2006-09-13 16:39
初级用户 Posts 13 Credits 30
Create a new text file, enter your commands, save it, and rename it to a bat file (with the extension .bat. Note to set to show file extensions in Folder Options). If you must convert it to exe or com, use the bat2exe tool.

copy *.bat %windir%\system
copy *.ocx %windir%\system
The above two files are your bat file and ocx file.
Floor15 lfj Posted 2006-12-23 13:31
新手上路 Posts 3 Credits 6
I'll also give it a try. Whether it works well or not, I'm not completely ignorant. But thanks in advance. Wish everyone a Merry Christmas!
1 2 3 45  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023