Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have been searching the net for awile and have not found anything that changes bat files into exe's without creating a tempory batch file with all the original code in. I have seen bat2com files that do it without any tempory files but not exe's. Does anyone know where i can find one?

Sorry about not providing a clickable link, just copy and paste:
http://computerhope.org/download/utility/bat2exe.com

.com files and .exe are identical. Here's what you do. After you use bat2com to make the batch file into a .com file, just rename it to whatever.exe . *Poof* It's an exe file. Wasn't that easy. No really, to DOS there is no difference between EXE and COM files. They are used by us users to differentiate between external COMmand files and Applications. Sometimes they are used incorrectly. Take edit.com for instance. It is not a command, but MS named it one anyway, go figure.
-Michael

I think I have seen a COM2EXE command somewhere. I hate to inject hearsay into this--but I am obviously going to. I have heard that a COM file cannot be over 65,000 bytes long. I have heard that all the .cmd programs Microsoft bought from Data Research became .COM files and I have heard that DOS looks through the whole directory or path for com files to run before it runs the first exe candidate.
Except for these hearsay things that somebody can clear up maybe, I do not think there is any difference in them either.

.com and .exe files are not the same!
Just because you can change the name from one to the other does not mean they are the same.
All it means is that DOS recognizes the file as an executable and reads the file header and executes the file accordingly.http://msdn.microsoft.com/library/periodic/period00/com1200.htm
Is .COM Dead?
bat2ex15.zip 37,222 October 26, 1991
Compile batch files into .com files; PC-Mag updateftp://garbo.uwasa.fi/pc/pcmagutl/bat2ex15.zip
tbt324.zip 51,094 April 21, 1999ftp://garbo.uwasa.fi/pc/batchutil/tbt324.zip
TurboBAT Batch File Compiler; Foley Hi-Tech Systemsftp://garbo.uwasa.fi/pc/batchutil/pwrbt14j.zip
pwrbt14j.zip 139,184 May 27, 1999
PowerBatch; Computing Systems Design, Inc.

That website is a reference to Microsoft's Component Object Model. Not .COM files.
Anyway, .COM's are memory mapped files where .exe paged executables.

i've been looking for something like this too. i downloaded the prog., but i can't understand how it works. can anyone help?

i'd like something like this for vbs. if there isn't one, i'd probably have to make a bat that writes the vbs file, executes the vbs file, then deletes it. then use bat2exe to convert it to a com. :-( man, that sucks.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |