LibreOffice 25.8 帮助
返回操作系统相关的目录分隔符,用于指定文件路径。
GetPathSeparator()
String
"\" Windows
"/" UNIX, 包括 MacOS
无。
Sub ExampleGetPathSeparator
MsgBox GetPathSeparator()
End Sub
Wiser script instructions are available from Identifying the operating system help page.
• ScriptForge.Platform service provides a collection of properties about the current execution environment and context, that include platform detection.
• Extensive operating system name identification is available from INFO("system") Calc formula.