Re: Which Operating System Am I On? [message #3552] |
Fri, 24 February 1995 04:50 |
gurman
Messages: 82 Registered: August 1992
|
Member |
|
|
In article <3ij0iq$998@newsstand.cit.cornell.edu>,
patterso@astrosun.tn.cornell.edu (Tim Patterson) wrote:
> I am writing a tool that needs to work on a variety of operating Systems
> (e.g. Unix, OSF/1, Ultrix, VMS, etc.). If I can find out through IDL
> which system I am on, I could use some IF structures to chose when I have
> machine specific commands to perform (like SPAWNS). Is there any way to
> get this information. None of the system varaibles seem to store it?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ?
Tim -
Have you tried looking at !version.os?
Joe Gurman
--
Joseph B. Gurman / NASA Goddard Space Flight Center/ Solar Data Analysis Center / Code 682 / Greenbelt MD 20771 USA / gurman@uvsp.gsfc.nasa.gov
| Federal employees are still prohibited from holding opinions while at work. Any opinions expressed herein must therefore be someone else's. |
|
|
|
|