X-Spam-Check-By: sourceware.org
Message-ID: <97f280ea0707300856m22358d2dp9bbf103268d2c1e8@mail.gmail.com>
Date: Mon, 30 Jul 2007 18:56:08 +0300
From: "Amir E. Aharoni" <amir.aharoni@gmail.com>
To: cygwin@cygwin.com
Subject: Re: windows cmd Newb question
In-Reply-To: <11865792.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <11865792.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 30/07/07, zip184 <btillinghast@profittools.net> wrote:
> Cygwin commands are not working when I run them in windows cmd.exe.  Should
> they?

Commands that are exe files are supposed to work. For example perl and
grep are both exe files in your bin directory, which is something like
C:\Cygwin\bin in Windows terms.

If you have that directory in your path, then those commands will work
from a regular Windows cmd shell (a "DOS Window").

Anything else is not supposed to work. Commands which are not exe
files, for example shell scripts (bash, ksh, etc.) or Perl or Python
programs will not work directly from the cmd command line. You need to
invoke their interpreter first.

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

