Funkcja GetPathSeparator

Zwraca separator katalogów zależny od systemu operacyjnego używany do określania ścieżek plików.

Składnia:

GetPathSeparator()

Zwracana wartość:

String

Parametry:

Żaden.

Kody błędów:

5 Nieprawidłowe wywołanie procedury

Przykład:


        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.


Zalecane do użytku:

Funkcja ConvertFromURL do konwersji adresu URL pliku na nazwę pliku systemowego.

Funkcja ConvertToURL do konwersji nazwy pliku systemowego na adres URL pliku.

Zobacz także Notację URL