It's easier to just use the equivalent "short path". E.g. usually a name like "Program Files" will have a "short name" of "Progra~1". So you can say things like
C:/Progra~1/Someprod/path/to/dir
To get this short name, use "dir /x" on the parent:
dir /x c:\
will say something like:
07/16/2001 04:58p <DIR> PROGRA~1 Program Files
^^^^^^^^
> -----Original Message-----
> From: T Master [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 12:06 PM
> To: [EMAIL PROTECTED]
> Subject: Re: spaces and path definition
>
>
> Used double quotes around the c:\Program Files?
>
> You should also use \\ instead of '\' in DOS paths.
>
> No excerpt was pasted so I ask.
>
>
> ----- Original Message -----
> From: "Shamberger, Michael" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 17, 2001 11:20 AM
> Subject: spaces and path definition
>
>
> > Hi,
> >
> > I am trying to build a path definition that I pass to the
> weblogic wlrun
> > task. I am running this on NT and one of the entries in
> the classpath I
> am
> > trying to build has a space in it. This is a 3rdparty
> database client jar
> > whose standard installation is into c:\Program Files. This
> space in the
> > classpath is causing wlrun to fail. Any ideas?
> >
> > Mike
>
>