Stephane,
Stephane Bailliez wrote:
----- Original Message ----- From: "Patrick Luby" <[EMAIL PROTECTED]> [...]
Thanks !
rem %~dp0 is name of current script under NT set DEFAULT_ANT_HOME=%~dp0
If I'm not wrong this should be %~dp0... I will change the legacy comment as it is misleading since %~dp0 is the expanded drive and path of the current script with a trailing backslash)
This comment was in the original file so I did not bother updating it. I think the original intent of the comment is that this code only supports Window 2000, NT, and XP.
BTW, I tried to switch the script to use the more generic %0\..\.. instead of %~dp0 in the hope that we could support Window 95, 98, and ME, but I ran into problems when %0 includes spaces.
Otherwise this should be ok as far as I can read batch files. Thanks a lot.
Stephane
Patrick
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- ________________________________________________________________ Patrick Luby Email: [EMAIL PROTECTED] Sun Microsystems Phone: 408-276-7471 901 San Antonio Road, USCA14-303 Palo Alto, CA 94303-4900 ________________________________________________________________
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
