delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/13/10:16:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A842366.5030109@gmail.com>
Date: Thu, 13 Aug 2009 15:29:58 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin commands in the Windows command line
References: <h616td$4k5$1 AT ger DOT gmane DOT org>
In-Reply-To: <h616td$4k5$1@ger.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Olumide wrote:

> I've noticed for sometime that Cygwin commands such as "ps" and "ls"
> (now) work in the Windows command line (cmd), and I'm not sure if its
> because something extra I installed on/did to my machine. (In fact, the
> command "pwd", when run in the cmd, shows a Cygwin path like
> /cygdrive/c/Documents and Settings/my_name.) Is this as a result of
> tighter integration of Cygwin with cmd?

  No, it's because you added your Cygwin /bin dir to your windows %PATH%
setting.  They're in the PATH, so when you try to run them they execute; they
don't insist that you be running a cygwin shell to launch them from, and most
command-line stuff will work from a DOS (cmd) prompt.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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