re: Re: FreeCOM example bug: command.c / executes everything
Eric Auer <[email protected]> Wed, 13 Nov 2002 21:41:28 +0100 (MET)
| Newsgroups | gmane.os.freedos.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I disagree... > MS command.com runs only files with extension .bat, .com and .exe. So should we. In DOS, the file name extension DOES matter. Distinguishing internal formats is done by the kernel, but the kernel cannot distinguish a JPG from a COM. So better teach FreeCOM not to execute JPG files (only COM and EXE - it already checks for BAT now). Eric