“Ring Obtenez le chemin de type A (fichier ou répertoire)” Réponses codées

Ring Obtenez le chemin de type A (fichier ou répertoire)

Getpathtype(cPath) ---> 0 if the path doesn't exists
                        1 if it corresponds to existing file
                        2 if it corresponds to existing directory
                        -1 if the path exists but has
                           an unknown type (e.g. a pipe)
Joker

Ring Obtenez le chemin de type A (fichier ou répertoire)

? Getpathtype("b:\ring\bin\ring.exe") + nl +
  Getpathtype("b:\ring") + nl +
  Getpathtype("b:\ring\bin2")
Joker

Réponses similaires à “Ring Obtenez le chemin de type A (fichier ou répertoire)”

Questions similaires à “Ring Obtenez le chemin de type A (fichier ou répertoire)”

Plus de réponses similaires à “Ring Obtenez le chemin de type A (fichier ou répertoire)” dans Python

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code