This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: How to set a variable with a space in the value?
- From: "Reid Thompson" <Reid dot Thompson at ateb dot com>
- To: <Ashish dot Srivastava at med dot va dot gov>
- Cc: <cygwin at cygwin dot com>
- Date: Tue, 30 Aug 2005 11:53:09 -0400
- Subject: RE: How to set a variable with a space in the value?
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
try
ln -s C:\\Java\ SDK /java
export JAVA_HOME=/java
reid
--
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/