db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre" <mcintyr...@gmail.com>
Subject Re: installation issue: problems caused by spaces in path pointed to by DERBY_HOME or DERBY_INSTALL
Date Thu, 24 Aug 2006 21:00:34 GMT
On 8/24/06, Rick Hillegas <Richard.Hillegas@sun.com> wrote:
> The following line in setEmbeddedCP.bat raises errors if there are
> spaces in the path identified by DERBY_HOME or DERBY_INSTALL:
>
> @FOR %%X in ("%DERBY_HOME%") DO SET DERBY_HOME=%%~sX
>
> Is this a known problem? I'm not a DOS expert and I don't know
> understand what "%%~sX" means.

That should convert the value of DERBY_HOME to it's DOS 8.3 short form
to avoid further problems with the path containing spaces. This is
working for me on Windows 2000. What version of Windows are you using,
and what is the error you are getting?

andrew

Mime
View raw message