This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


is a string giving the type of operating system under which Mathematica is being run.
  • You can use $OperatingSystem to get an idea of what external commands will be available from within Mathematica.
  • $OperatingSystem typically has the same value for different versions or variants of a particular operating system.
New in 2