Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - Français

Change language to:
English - 日本語 - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Manuel Scilab >> Entrées/Sorties [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

Auteurs

Allan CORNET

<< getlongpathname Entrées/Sorties [fichiers] mkdir >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:24:14 CET 2011