spaces in $PATH

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue May 26 02:03:00 GMT 2009


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/



More information about the Cygwin mailing list