WindowsShortName

Returns the short name of a file or folder under Windows

您现在正在关注此提交

Under Windows, returns the short name (8.3) of a file or folder. Example :

WindowsShortName('C:\Documents and Settings\lulu\Bureau\Inno Setup Compiler.lnk')

returns 'C:\DOCUME~1\lulu\Bureau\INNOSE~1.LNK'

May be usefull to avoid issues with Windows long names (blanks, special characters, ...).

引用格式

Luc Masset (2026). WindowsShortName (https://ww2.mathworks.cn/matlabcentral/fileexchange/21345-windowsshortname), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0