Re: Small issue with modeler.bat (Win98)

From: Mike Kienenberger (mkienen..laska.net)
Date: Fri Oct 29 2004 - 12:22:51 EDT

  • Next message: Mike Kienenberger: "Re: Small issue with modeler.bat (Win98)"

    Albert <look..treamyx.com> wrote:
    > >>In Win98 echo %os% prints nothing.. It simply returns 'Echo is on' as
    if
    > >> you type 'echo' by itself. Win98 did not assign any value to the %os%
    > >>environment variable like XP.
    > >>
    > >>Maybe a missing %os% can be assumed as Win98/ME .. otherwise NT/XP/2K,

    Right, and I've in fact found a reference to doing just that at a windows
    developer website, so I think it's safe to assume that this isn't something
    specific to systems with WebObjects installed.

    if "%OS%" == "Windows_NT" set
    PATH=%MSDevDir%\BIN;%MSVCDir%\BIN;%VSCommonDir%\TOOLS\%VcOsDir%;%VSCommonDir%\TOOLS;%PATH%

    if "%OS%" == "" set
    PATH="%MSDevDir%\BIN";"%MSVCDir%\BIN";"%VSCommonDir%\TOOLS\%VcOsDir%";"%VSCommonDir%\TOOLS";"%windir%\SYSTEM";"%PATH%"

    I'll go ahead and use this method.



    This archive was generated by hypermail 2.0.0 : Fri Oct 29 2004 - 12:21:31 EDT