Re: Small issue with modeler.bat (Win98)

From: Albert (look..treamyx.com)
Date: Fri Oct 29 2004 - 12:05:39 EDT

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

    - Forwarding the message to the list. When I hit reply, I didn't realize
    the message goes direct to Andrus email.

    Andrus Adamchik wrote:

    > I suspected something like that. Thanks for confirming it. I guess we
    need
    > to append all these comments to
    >
    > http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-99
    >
    > so that Mike can work on the fix.
    >
    > Andrus
    >
    >
    >>Andrus Adamchik wrote:
    >>
    >>>I am totally ok with modeler-win98.bat if there is no easy way to
    >>>guess an OS version from a batch file. One thin that I found is that
    >>>on XP "echo %OS%" prints "Windows_NT", not sure what it does on Win98.
    >>>
    >>
    >>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,
    >>such as :
    >>
    >>-----------
    >>if "%os" == "" goto win9x
    >>rem otherwise
    >>goto winXP
    >>
    >>:win9x
    >>....win9x stuff
    >>goto end
    >>
    >>:winXP
    >>....winXP stuff
    >>goto end
    >>
    >>:end
    >>-----------
    >>[snip]
    >>
    >>
    >>>>-----Original Message-----
    >>>>From: Mike Kienenberger [mailto:mkienen..laska.net]
    >>
    >>[snip]
    >>
    >>
    >>>>I've reopened and reassigned issue CAY-99 to myself (as my first
    >>>>official
    >>>>act as a committer) and I've appended Albert's comments to it.
    >>>>Albert, if
    >>>>you want, you can go to the issue and assign yourself as a watcher for
    >>>>this
    >>>>issue.
    >>>>
    >>>>-Mike
    >>
    >>Will do.. thanks.
    >>
    >>Albert



    This archive was generated by hypermail 2.0.0 : Fri Oct 29 2004 - 12:03:17 EDT