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.

Details

Examples

Basic Examples  (2)

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]=

See Also

FileNameSplit  FileNameJoin  FileNameTake  FileNameDrop  $OperatingSystem

Introduced in 2008
(7.0)