Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!bloom-beacon!eru!hagbard!sunic!news.funet.fi!tukki.jyu.fi!jyu.fi!otto From: otto@tukki.jyu.fi (Otto J. Makela) Newsgroups: comp.windows.ms Subject: Re: Converting COM to EXE Message-ID: Date: 12 Sep 90 10:16:35 GMT References: <10446@pt.cs.cmu.edu> Sender: news@tukki.jyu.fi (News articles) Organization: Turing Police, Criminal AI section Lines: 24 In-Reply-To: climan@clamen.avalon.cs.cmu.edu's message of 12 Sep 90 04:27:51 GMT (following-up, since this might be of interest to larger circles...) In article <10446@pt.cs.cmu.edu> climan@clamen.avalon.cs.cmu.edu (Dani Climan) writes: Is there a utility that will convert COM files to EXE so that they can run based on their input files extension. For example, I would like to run a PAGE.COM when I click on a .txt file. Any suggestions would be appreciated. I'm not familiar with the extension mechanism used in Windows, but there is a very nice utility package called LZEXE (current version 0.92, I believe) which includes a utility to convert COM file to EXE files. The main function of the utility package is to LZW-compress executable files and tack on a small (under 500 bytes) auto-extractor program -- a bit like viruses do :-) It doesn't work with overlayed programs (I'm not sure about Windows progs). Of course, if you just need a EXE extension to the filename, you can simply rename the file. I believe DOS versions since 3.10 can figure out the actual type of the file from the EXE file header (or the non-existance of one), thus running it the "right" way. -- * * * Otto J. Makela * * * * * * * * * * * * * * * * * * * * * * Phone: +358 41 613 847, BBS: +358 41 211 562 (CCITT, Bell 2400/1200/300) * * Mail: Kauppakatu 1 B 18, SF-40100 Jyvaskyla, Finland, EUROPE * * * * Computers Rule 01001111 01001011 * * * * * * * * * * * * * * * * * * *