Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 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

Aide de Scilab >> 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

  • getlongpathname — retourne le chemin au format nom long (Seulement pour Windows)
Report an issue
<< getrelativefilename Chemins - nom de fichiers is_absolute_path >>

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:
Mon Jan 03 14:33:07 CET 2022