GetPathSeparator Function

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

Sintaksis:

GetPathSeparator()

Return type:

String

Parameter:

Nihil.

Kode kesalahan:

5 Tidak sah dalam pemanggilan prosedur

Contoh:


        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.


Disarankan memakai:

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

UbahMenjadiURL rumus untuk merubah sistem berkas nama menjadi sistem URL

Lihat juga Notasi URL

Mohon dukung kami!