“anel Obtenha o tipo um determinado caminho (arquivo ou diretório)” Respostas de código

anel Obtenha o tipo um determinado caminho (arquivo ou diretório)

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

anel Obtenha o tipo um determinado caminho (arquivo ou diretório)

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

Respostas semelhantes a “anel Obtenha o tipo um determinado caminho (arquivo ou diretório)”

Perguntas semelhantes a “anel Obtenha o tipo um determinado caminho (arquivo ou diretório)”

Mais respostas relacionadas para “anel Obtenha o tipo um determinado caminho (arquivo ou diretório)” em Python

Procure respostas de código populares por idioma

Procurar outros idiomas de código