<< getrelativefilename Chemins - nom de fichiers is_absolute_path >>

Scilab Help >> Entrées/Sorties [fichiers] > Chemins - nom de fichiers > getshortpathname

getshortpathname

retourne le chemin au format court (Seulement pour Windows)

Séquence d'appel

shortpath=getshortgpathname(longpath)
[shortpath,bOK]=getshortpathname(longpath)

Paramètres

longpath

Une chaine de caractere ou une matrice de chaines de caracteres contenant le chemin au format long.

shortpath

Une chaine de caractere ou une matrice de chaines de caracteres contenant le chemin au format court

bOK

contient %T si le chemin a ete converti ou %F si ce n'est pas le cas.

Description

La primitive getshortpathname convertie un chemin au format long en un chemin au format court.

Exemples

[shortpath,bOK]=getshortpathname(SCI)
[shortpaths,bOKs]=getshortpathname([SCI,SCI])

Voir aussi


Report an issue
<< getrelativefilename Chemins - nom de fichiers is_absolute_path >>