delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/25/22:03:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_05,J_CHICKENPOX_53,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A1B4D1F.3090502@cygwin.com>
Date: Mon, 25 May 2009 21:59:59 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: spaces in $PATH
References: <4A1B4AB8 DOT 1080702 AT energyts DOT com>
In-Reply-To: <4A1B4AB8.1080702@energyts.com>
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

newsletter wrote:
> Hi all
> I am trying to configure the $PATH variable in cygwin and am having 
> problems getting a path to program files to work. It keeps saying 
> "Program: No such file or directory". I've tried to put quotes (both 
> single and double) around the offending line but it doesn't work as well.
> 
> what is the correct syntax?

Depends on what you're trying to do.  This is an example of me launching
'ALZip' from 'bash':

#echo $PATH
/usr/bin:/WINDOWS/system32:/WINDOWS:/WINDOWS/System32/Wbem:/Program 
Files/Intel/DMIX:/Program Files/ESTsoft/ALZip/:/Program Files/ATI 
Technologies/ATI.ACE/:/Program Files/Microsoft SQL 
Server/90/Tools/binn/:/Interix/common/:/Program 
Files/ESTsoft/ALZip/:/home/lhall/bin

#ls /Program\ Files/ESTsoft/ALZip/
ALBanner.dll    AZCTM.dll       Language/       unacev2.dll
ALTip.dll       AZCTM64.dll     Newzip.dat      unins000.dat
ALTip.ini       AZMain.dll      alupdate.exe    unins000.exe
ALZEXE.DAT      Az7z.dll        alupopt.dll     unrar4.dll
ALZip.exe       AzCDImage.dll   alzip.chm
ALZipIcon.dll   CrashRpt_D.dll  readme.txt

#ALZip

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

- Raw text -


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