How to set a variable with a space in the value?

Jason Pyeron jpyeron@pdinc.us
Tue Aug 30 15:52:00 GMT 2005


export JAVA_HOME=c:\\java\ sdk\\

or

export JAVA_HOME='c:\java sdk\'


On Tue, 30 Aug 2005 Ashish.Srivastava@med.va.gov wrote:

> Hi,
>   I have a JDK installed in c:\Java SDK directory. I am trying to export
> the JAVA_HOME in cygwin but it seems is crancking out on the space.
>
> export JAVA_HOME=c:\Java\\ SDK
> export JAVA_HOME=c:\"Java SDK\" and,
> export JAVA_HOME="c:/Java SDK/"
>
> all fails. Please help!
>
> Thnx,
> -Ashish
>
> --
> 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/
>

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (443) 921-0381                 Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.

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