GetPathSeparator-funktion

Returner den operativsystem-afhængige katalogadskiller, der bruges til at definere filstier.

Syntaks:

GetPathSeparator()

Returværdi:

String

Parametre:

Ingen.

Fejlkoder:

5 Ugyldigt Procedurekald

Eksempel:


        Sub ExampleGetPathSeparator
            MsgBox GetPathSeparator()
        End Sub
    
note

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


tip

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


Det anbefales at bruge:

ConvertFromURL-funktionen til at konvertere en Fil-URL til et system filnavn.

ConvertToURL-funktionen til at konvertere et system filnavn til en fil-URL.

See also URL-notation