Hi,

On 4/17/05, baleineca <[EMAIL PROTECTED]> wrote:
> Change line 86 from:
> if "%OS%"=="Windows_NT" SET M2_HOME=%~dps0\..
> 
> to
> 
> if "%OS%"=="Windows_NT" SET M2_HOME=%~dps0\..\\..
> 
> (need double \\ to escape)

Can you explain this to me? I'm no .bat file wizard, but I thought I
tested this.
IIRC, %~dps0 is the (d)rive and (p)ath of the batch file (%0), using a
(s)hort name.

So M2_HOME=c:\maven2\bin\..
which is correct. I thought yours would give c:\ in that case.

Thanks...
- Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to