Scilab 5.3.0
- Scilab Online Help
- Files : Input/Output functions
- basename
- chdir
- copyfile
- createdir
- deletefile
- dir
- dirname
- dispfiles
- fileext
- fileinfo
- fileparts
- filesep
- findfiles
- fprintf
- fprintfMat
- fscanf
- fscanfMat
- fullfile
- fullpath
- get_absolute_file_path
- getdrives
- getlongpathname
- getrelativefilename
- 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
- newest
- pathconvert
- pathsep
- pwd
- removedir
- rmdir
- save_format
- scanf
- scanf_conversion
- sscanf
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
<< getrelativefilename | Files : Input/Output functions | %io >> |