h6V9P‖GetPathSeparator function

Contents
aC822‖

# DXtQk‖GetPathSeparator Function

dWBDB‖Returns the operating system-dependent directory separator used to specify file paths.

### FVEx2‖Syntax:

GetPathSeparator()

### bBBqF‖Return type:

String

- "\" Windows

- 8jaPZ‖"/" UNIX, including MacOS

### WADQ4‖Parameters:

wSvKw‖ None.

### SEjHR‖Error codes:

5 Invalid procedure call

### EFSA4‖Example:

            Sub ExampleGetPathSeparator
                MsgBox GetPathSeparator()
            End Sub

8AiAQ‖Wiser script instructions are available from Identifying the operating system help page.

NSGNm‖• 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.

Related Topics

qqbvK‖It is recommended to use:

JaELK‖ConvertFromURL function to convert a file URL to a system file name.

FoteC‖ConvertToURL function to convert a system file name to a file URL.

Ebp5F‖See also URL Notation

Please support us!