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
- The default setting is typically OperatingSystem->$OperatingSystem.
- Possible settings for OperatingSystem are typically "Windows", "MacOSX", and "Unix".
Examples
Basic Examples (2)Summary of the most common use cases
Obtain a file name suitable for a certain operating system:
In[1]:=1
✖
https://wolfram.com/xid/0cg5v9nr2-dxewmv
Out[1]=1
In[2]:=2
✖
https://wolfram.com/xid/0cg5v9nr2-qxtis
Out[2]=2
For some file systems, \ is a valid character for file or directory names:
In[1]:=1
✖
https://wolfram.com/xid/0cg5v9nr2-bzukjl
Out[1]=1
In[2]:=2
✖
https://wolfram.com/xid/0cg5v9nr2-ct38yx
Out[2]=2
Wolfram Research (2008), OperatingSystem, Wolfram Language function, https://reference.wolfram.com/language/ref/OperatingSystem.html.
✖
Wolfram Research (2008), OperatingSystem, Wolfram Language function, https://reference.wolfram.com/language/ref/OperatingSystem.html.
Text
Wolfram Research (2008), OperatingSystem, Wolfram Language function, https://reference.wolfram.com/language/ref/OperatingSystem.html.
✖
Wolfram Research (2008), OperatingSystem, Wolfram Language function, https://reference.wolfram.com/language/ref/OperatingSystem.html.
CMS
Wolfram Language. 2008. "OperatingSystem." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/OperatingSystem.html.
✖
Wolfram Language. 2008. "OperatingSystem." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/OperatingSystem.html.
APA
Wolfram Language. (2008). OperatingSystem. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/OperatingSystem.html
✖
Wolfram Language. (2008). OperatingSystem. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/OperatingSystem.html
BibTeX
✖
@misc{reference.wolfram_2024_operatingsystem, author="Wolfram Research", title="{OperatingSystem}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/OperatingSystem.html}", note=[Accessed: 10-January-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2024_operatingsystem, organization={Wolfram Research}, title={OperatingSystem}, year={2008}, url={https://reference.wolfram.com/language/ref/OperatingSystem.html}, note=[Accessed: 10-January-2025
]}