Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <00F8D6E8AB0DD3118F1A006008186C9605DD4B@server1.axonet.com.au>
From: Andrew Dalgleish <andrewd@axonet.com.au>
To: "'Kai Henningsen'" <kai@cats.ms>
Cc: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
Subject: RE: For the FAQ: NT PATH problems
Date: Tue, 12 Oct 1999 10:06:54 +1000
X-Priority: 3
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1458.49)
Content-Type: text/plain

Let me guess - you are using NT's boot loader to multiboot, correct?
(You say you are using NT, but your path contains references to
C:\WIN95.US and C:\WIN98.US)

When you use the NT boot loader to boot DOS/95/98 it copies autoexec.bat
and config.sys into c:\, and leaves them there the next time you boot
into NT.
NT does not execute autoexec.bat, but it does parse it for PATH
statements.
This means your NT environment may depend on what other OS you last
used.
Personally I have a one-line autoexec.bat call another batch file
(autodos.bat, auto95.bat, etc) which does the real work.
Because autoexec.bat doesn't contain any path statements NT doesn't get
confused.
(Now this could go in the FAQ :-)

If you add the following to the start of your cygwin.bat it might help
pin down what is going on.
echo %PATH%
pause

Do you also have a ~/.bashrc and/or ~/.bash_profile?


Regards,
Andrew Dalgleish


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

