X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_SPAMHAUS_DROP,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-EIP: [YlfWMsNUv9LYT5Pj783YtpZg971ne1Sr] Message-ID: Date: Wed, 2 Jan 2013 20:01:49 +0100 From: Aaron Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: adding a folder to my path References: <50E46BDD DOT 9000603 AT molconn DOT com> In-Reply-To: <50E46BDD.9000603@molconn.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 02/01/2013 18:18, LMH wrote: > I think this is a cygwin question, though it is certainly a general > linux question as well. I would like to divide up and organize some of > the apps and links in my path directories (such as /usr/local/bin) into > sub directories. If I add a folder to /usr/local/bin, that folder is not > in my path. Can someone give me the instructions for adding a folder > such as /usr/local/bin/ruby_viewer/ to my path? As stated here: http://cygwin.com/ml/cygwin/2013-01/msg00023.html you can do it two ways 1) Add /usr/local/bin/ruby_viewer/ to your profile: $ echo 'PATH=`echo $PATH`:/usr/local/bin/ruby_viewer/' >> $HOME/.bash_profile 2) Add it directly to Windows' path: Start > Control Panel > System > Advanced system settings > Advanced > Environment variables > PATH > Edit > Add to the end ;C:\cygwin\usr\local\bin\ruby_viewer -- 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