Name
getshortpathname — get short path name (Only for Windows)
Calling Sequence
shortpath=getshortgpathname(longpath)
[shortpath,bOK]=getshortpathname(longpath)
Parameters
- 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])