X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=HNbieXvaDyqCr1rnp76E4SPzKdHgT11rGmBKKHq1rZ7
	3BPTb+WbpuqGjxja+tkA7KpTRIo/0ruRTcwQYHZo1TolkRFjdBAO2hW0+dRP7muf
	T5CEbk+syydvywTAXMLOdGCnkgH+4LNs3JbNb5gD62M7IP960MKFxtxHhfgjxeyY
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=IKI2YbuNIS0QrKhj8lPgAmZxhjc=; b=laSE7dngSoe5hcEK3
	n9iMEldZXrQ14H4rNKtbypfy9O1FSY/KiBQ/h7GlYC8kxbGCxQO8awabaH7MiOaV
	VIZfftGy9hjmqJHBCo/9b3ZSVHf43ecE6dBjvatGb7TyAxLFSzVRbyUimQr+koxB
	ovUEueG6oFPGrLvK5d9gC7wy2g=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mout.gmx.net
Message-ID: <53061CD2.4000402@mail.com>
Date: Thu, 20 Feb 2014 10:18:42 -0500
From: Todd Poole <tpoole@mail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Setup Path
References: <530600B8.6050504@mail.com> <0D835E9B9CD07F40A48423F80D3B5A702CDE5DF8@USA7109MB022.na.xerox.net> <530618D6.4030604@cs.umass.edu>
In-Reply-To: <530618D6.4030604@cs.umass.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Thank you very much for information. I think I can get it now.

Todd Poole

On 2/20/2014 10:01 AM, Eliot Moss wrote:
> On 2/20/2014 8:34 AM, Nellis, Kenneth wrote:
>> From: Todd Poole
>>> Hi all
>>> Really new to Cygwin. Is there a way to setup Cygwin so when I got to
>>> terminal to type a command I don't have to enter the complete path as
>>> shown here:
>>>
>>> $ cd /cygdrive/c/directory name
>>>
>>> Anyway to setup to where I might just enter
>>>
>>> $ c/directory name
>>>
>>> or something like it?
>>
>> I suggest you look into the CDPATH environment variable.
>
> That would simplify what you type as an argument to the cd command.
>
> If you are wanting to be able to invoke a command foo without typing
> its whole path, then you need its directory in the PATH variable.
> PATH in cygwin is similar to PATH on Windows, but the format is
> more like Unix: / instead of \, : instead of ;, and so on.  The
> command:
>
> echo $PATH
>
> will show you the default.  You can add a directory to be searched
> after the default ones by doing something like:
>
> PATH="${PATH}:additional-directory"
>
> The quotes are important if anything in PATH has spaces or other "strange"
> characters.
>
> By the way, this is standard Unix / bash stuff.  cygwin kind of assumes
> that you
> are familiar with Unix, since its purpose is to offer a Unix-like
> environment
> on Windows.  (bash, the Bourne-again shell, is the default shell brought
> up in
> a cygwin terminal window.)
>
> Best wishes -- Eliot Moss
>
> --
> 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
>

--
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

