delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/14/10:00:49

From: Marcus Houlden <Marcus DOT Holden AT bigfoot DOT com>
Newsgroups: comp.os.msdos,comp.os.msdos.djgpp,comp.os.ms-windows.win95
Subject: Re: Looking for help with MSDOS AUTOEXEC & CONFIG
Date: Thu, 14 May 1998 14:53:02 +0000
Organization: Sirius Cybernetics Corporation
Lines: 54
Message-ID: <355AF73E.23838F74@bigfoot.com>
References: <355ac9a8 DOT 0 AT scooby DOT nildram DOT co DOT uk>
NNTP-Posting-Host: marcush.hf.umist.ac.uk
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Graeme Fenwick wrote:
> 
> I'm having a few problems finding out stuff about MSDOS apps under Win95, as
> my previous experience of MSDOS is fairly limited. Can anyone out there help
> me with the following questions? (You don't have to answer them all if you
> don't want to!)
> 
> 1) What are the differences between "genuine" MSDOS, Win95's DOS in a window
> (via Start menu) and rebooting Win95 into MSDOS mode?
"Genuine" Dos means that no part of Windows is running. The Dos window
gives access to long file names and other stuff that only works when the
32 bit drivers are loaded. MSDOS mode is *almost* the same as Genuine,
except that a small part of win.com is loaded to reboot when you type
exit or win.
> 
> 2) Do books on the newer MSDOSs apply to DOS under W95 in general?
It depends on the book.
> 
> 3) AUTOEXEC.BAT is a file that simply executes the list of commands
> contained within on booting, or running the DOS window- right (or wrong)?
Autoexec.bat only runs when you boot the computer. When you restart in
Dos mode, the Dosstart.bat file runs instead.
> And assuming I haven't configured a special DOS shortcut with its own
> AUTOEXEC, does it run for all DOS Windows when launched?
No.
> And I'm guessing CONFIG.SYS tells the system where to find any device
> drivers...
Yes, again it only runs when you boot the computer.
> 
> 4) Does SET PATH tell DOS where to search for a certain command, say gcc,
Yes
> and if so, how do I get DOS to look in two different paths for a program
> (since it seems I can't do two SET PATHs)?
> I've got this line in my AUTOEXEC.BAT file...
>   set PATH=C:\NUPROGS\DJGPP\BIN\GNU\EMACS\BIN;%PATH%
> but I'd like to have emacs on the path
>     C:\NUPROGS\djgpp\gnu\emacs
> running.
Add each directory to the path statement separated by semicolons, eg:

set
path=c:\;c:\windows;C:\NUPROGS\DJGPP\BIN\GNU\EMACS\BIN;C:\NUPROGS\djgpp\gnu\emacs
> 
> Sorry if this seems like an awful lot of questions in one go!
> You've probably guessed by now that I'm no expert at DOS....
> 
> -Graeme Fenwick

-- 
Marcus Houlden 
Marcus DOT Holden AT bigfoot DOT com  Marcus DOT Holden AT stud DOT umist DOT ac DOT uk
Antispam:There is a "u" in my surname. Change the "Holden" to "Houlden"
Homepages: http://www.bigfoot.com/~Marcus.Houlden 
http://members.xoom.com/mhoulden

- Raw text -


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