Scilab 5.3.0
- Manual Scilab
- Arquivos : funções de Entrada/Saída
- chdir
- fileinfo
- get_absolute_file_path
- getrelativefilename
- newest
- sscanf
- basename
- copyfile
- createdir
- deletefile
- dir
- dirname
- dispfiles
- fileext
- fileparts
- filesep
- findfiles
- fprintf
- fprintfMat
- fscanf
- fscanfMat
- fullfile
- fullpath
- getdrives
- getlongpathname
- getshortpathname
- %io
- isdir
- isfile
- listfiles
- listvarinfile
- ls
- maxfiles
- mclearerr
- mclose
- mdelete
- meof
- merror
- mfprintf
- mscanf
- mget
- mgetl
- mgetstr
- mkdir
- mopen
- movefile
- mput
- mputl
- mputstr
- mseek
- mtell
- pathconvert
- pathsep
- pwd
- removedir
- rmdir
- save_format
- scanf
- scanf_conversion
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
getshortpathname
get short path name (Only for Windows)
Calling Sequence
shortpath=getshortgpathname(longpath) [shortpath,bOK]=getshortpathname(longpath)
Arguments
- longpath
A character string or matrix of strings the long path
- shortpath
A character string or a matrix of strings the short path
- bOK
A boolean %T or a matrix of boolean if path has been converted else %F
Description
The getshortpathname primitive converts the specified path to its short form.
Examples
[shortpath,bOK]=getshortpathname(SCI) [shortpaths,bOKs]=getshortpathname([SCI;SCI])
See Also
Authors
Allan CORNET
<< getlongpathname | Arquivos : funções de Entrada/Saída | %io >> |