|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
$OperatingSystem
$OperatingSystem
is a string giving the type of operating system under which Mathematica is being run.
DetailsDetails
- Typical values for $OperatingSystem are
,
, and
. - 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.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Programmatically determine the host operating system:
| In[1]:= |
| Out[1]= |
New in 2
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
