Fonction GetPathSeparator

Renvoie le séparateur de répertoire dépendant du système d'exploitation utilisé pour spécifier les chemins d'accès aux fichiers.

Syntaxe :

GetPathSeparator()

Valeur de retour :

String

Paramètres :

Aucun.

Codes d'erreur :

5 appel de procédure incorrect

Exemple :


        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.


Il est recommandé d'utiliser :

ConvertFromURL fonction pour convertir une URL de fichier en nom de fichier du système.

ConvertToURL fonction pour convertir un nom de fichier du système en URL de fichier.

Voir aussi notation d'URL