$os

From Scriptwiki
Revision as of 18:43, 7 April 2008 by Daveoh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the version number of the operating system.

$os

The reply can be 95, 98, NT, ME, 2K, XP, 2003, or Vista.

Example

$os    returns XP when you are using Windows XP