GetPathSeparator-funksjonen

Returnerer den operativsystemavhengige katalogseparatoren som brukes til å spesifisere filstier.

Syntaks:

GetPathSeparator()

Returverdi:

String

Parametre:

Ingen

Feilkoder

5 Ugyldig prosedyreoppkall

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 å bruke:

ConvertFromURL-funksjon for å konvertere en fil-URL til et systemfilnavn.

ConvertToURL funksjon for å konvertere et systemfilnavn til en fil-URL.

Se også URL-notasjon