www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/04/15:55:42

From: mvparvia AT delta DOT hut DOT fi (Mikko V.I. Parviainen)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: BASH as default DOS shell under Windows 98?
Date: 4 Mar 99 20:33:43 GMT
Organization: Helsinki University of Technology, CS lab
Lines: 16
Distribution: world
Message-ID: <mvparvia.920579623@snakemail.hut.fi>
References: <Pine DOT GSO DOT 3 DOT 95 DOT 990303220311 DOT 25226A-100000 AT holyrood DOT ed DOT ac DOT uk> <7bl4kq$r29$1 AT oak DOT prod DOT itd DOT earthlink DOT net> <36de423b DOT 261027328 AT news DOT cso DOT uiuc DOT edu>
NNTP-Posting-Host: delta.hut.fi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

[On copying bash.exe as command.com]
locke AT mcs DOT net (Peter Johnson) writes:
>Um.. that would be a BAD idea.   Considering that command.com is NOT
>an .exe file (.coms and .exes are loaded differently by DOS).

Actually, I have the impression that command.com has been an exe file
since at least MS-DOS 5.0. DOS determines the type of an executable
from its internal structure, not file system name.

If I recall correctly, one could run a file with any name as an 
.exe-file, if only all relevant data is in the right place.   

-- 
-- 
Mikko Parvianen
pare AT iki DOT fi

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019