From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: How to tell DOS from Windows Console programs? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <90u8uso9cfp5mjoufarfh5dl12hojroq0q@4ax.com> References: <39E42EA8 DOT 2CFD05FC AT no.> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 20 X-Trace: /Kkf2OfRvnvG4JmBNimuSsBEGoCtj0Uj9dY9tIFJDaAxlMRKujBvpH88bI8habmj+VUC2A+qUCmy!sVHK8Jp7ghBGlkPh5e9xs/5few4aQYuhpDz5KkloIRp2u3U/uHz0Dg1ojpghqwfJvOcjkVVOw1Op!01mcxw== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Wed, 11 Oct 2000 14:25:48 GMT Distribution: world Date: Wed, 11 Oct 2000 14:25:48 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 11 Oct 2000 06:04:43 GMT, James wrote: >How do you tell if a program is a native DOS or Windows Console program >from within windows? Thanks. From the Win9x shell: Right-click the program and choose Properties. If you get tabs with PIF options (memory, screen, etc.), you have a DOS app. If you don't get PIF options, you have a Win32 app. From a Win32 or DOS program: Open the file and look for a COFF-PE header; check the wotsit.org format docs for details. --