Função GetPathSeparator

Retorna o separador de diretórios dependente do sistema operacional usado para especificar caminhos de arquivos.

Sintaxe:

GetPathSeparator()

Return type:

String

Parâmetros:

Nenhum.

Códigos de erro:

5 Chamada de procedimento inválida

Exemplo:


        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.


Recomenda-se usar:

ConvertFromURL função para converter um arquivo em notação URL para o nome em notação do arquivo no sistema.

ConvertToURL função para converter o nome do arquivo do sistema para um arquivo URL.

Veja também URL Notation