This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: export doesn't like my path :-(


>>>>> "Gerrit" == Gerrit P Haase <gp@familiehaase.de> writes:

    Gerrit> You have spaces in some of the paths.
    >> drive/c/Program Files/MT S:/cygdrive/e/Library/Amzi Logic
    >> Explorer/amzi_logic_explorer/bin:
    Gerrit>               ^^^^ ^^^^^^^^^^^^^^

    Gerrit> That _is_ a problem for bash.

FYI, spaces in PATH are OK for bash (tested with bash-2.05-8):

    dario@mypc ~
    $ ls /cygdrive/c/Program\ Files/Accessories/WORDPAD.EXE
    /cygdrive/c/Program Files/Accessories/WORDPAD.EXE

    dario@mypc ~
    $ echo $PATH
    /usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND

e    dario@mypc ~
    $ wordpad
    BASH: wordpad: command not found

    dario@mypc ~
    $ PATH=/cygdrive/c/Program\ Files/Accessories:$PATH

    dario@mypc ~
    $ echo $PATH
    /cygdrive/c/Program Files/Accessories:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/W
    INDOWS:/cygdrive/c/WINDOWS/COMMAND

    dario@mypc ~
    $ wordpad

    <Wordpad is launched, pressed Alt+F4 to exit>

    dario@mypc ~
    $

-- 
Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
alcocer@helixdigital.com -- http://www.helixdigital.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]