$os

From Scriptwiki
Revision as of 22:46, 8 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the version number of the operating system.

$os

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

  • This function has no parameters.

Example

$os    ;returns XP when you are using Windows XP