delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/17/21:23:03

From: rodmant AT sol DOT net (Tom Rodman)
Subject: "bad" PATH (2 instances seen by bash launched cmd file)
17 Mar 1998 21:23:03 -0800 :
Message-ID: <9803161928.AA18738.cygnus.gnu-win32@mke100.mke.cg.jci.com>
Reply-To: "Tom Rodman" <rodmant AT sol DOT net>
To: gnu-win32 AT cygnus DOT com

Take a look at this bash (beta 18) session:


  >                  /adm/sa/tmp
  > CMKE773 adm > export PATH=/WINNT/system32
  >                  /adm/sa/tmp
  > CMKE773 adm > echo path=bar \& set path|cmd
  Microsoft(R) Windows NT(TM)
  (C) Copyright 1985-1996 Microsoft Corp.
   
  s:\adm\sa\tmp>path=bar & set path
  PATH=bar
  PATH=c:\WINNT\system32
  PATHEXT=.COM;.EXE;.BAT;.CMD

Notice that PATH shows up twice. Can anyone explain this?

regards,

Tom Rodman
rodmant AT sol DOT net
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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