This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin commands in the Windows command line
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 13 Aug 2009 15:29:58 +0100
- Subject: Re: Cygwin commands in the Windows command line
- References: <email@example.com>
> 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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple