You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Omar Belhaj <be...@online.no> on 2002/11/20 12:17:43 UTC

Re: cvs commit: xml-forrest/src/resources/forrest-shbat/bin forrest.bat

No, I do not have a Win9x at hand but you're right this should be:

----
| rem Change drive and directory to "%FORREST_HOME%\lib\endorsed"
| if "%OS%"=="Windows_NT" cd /d ""%FORREST_HOME%\lib\endorsed""
| if not "%OS%"=="Windows_NT" cd ""%FORREST_HOME%\lib\endorsed""
----

Instead of just:
----
|cd "%FORREST_HOME%\lib\endorsed"
----

In order to run correctly on both type of OSes.

--Omar