WindowsShortName
Version 1.0.0.0 (723 Bytes) by
Luc Masset
Returns the short name of a file or folder under Windows
782 Downloads
Updated
5 Sep 2008
No License
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, ...).
Cite As
Luc Masset (2024). WindowsShortName (https://www.mathworks.com/matlabcentral/fileexchange/21345-windowsshortname), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on File Operations in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |