aC822‖

DXtQk‖GetPathSeparator Function

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

FVEx2‖Syntax:

GetPathSeparator()

GePPP‖Return value:

String

WADQ4‖Parameters:

wSvKw‖ None.

SEjHR‖Error codes:

5 Invalid procedure call

EFSA4‖Example:


        Sub ExampleGetPathSeparator
            MsgBox GetPathSeparator()
        End Sub
    
note

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


tip

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.


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