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

OperatingSystem

OperatingSystem
is an option for file and related operations that specifies the type of operating system to use to determine file name and other conventions.
Obtain a file name suitable for a certain operating system:
For some file systems, \ is a valid character for file or directory names:
Obtain a file name suitable for a certain operating system:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
For some file systems, \ is a valid character for file or directory names:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
New in 7