Windows (MEX) 上的短路径名和长路径名:Windows 上路径名的长短格式之间的转换-matlab开发

时间:2021-05-30 08:42:27
【文件属性】:
文件名称:Windows (MEX) 上的短路径名和长路径名:Windows 上路径名的长短格式之间的转换-matlab开发
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-30 08:42:27
matlab getShortPath 将路径名(或文件名)转换为其缩写形式 (MSDOS 8.3)。 getLongPath 做相反的事情。 在使用 dos 内置函数时,getShortPath 可用于处理格式不正确的路径(例如带有特殊字符或空格的路径名)。 无需在路径名中添加双引号。 例如,用记事本++打开一个命名为“ un fichier malnommé.txt”的文件。 以下命令失败: dos('C:\Program Files (x86)\Notepad++\notepad++.exe un fichier mal nommé.txt') 您需要添加双引号: dos('"C:\Program Files (x86)\Notepad++\notepad++.exe" "un fichier mal nommé.txt"') 或者使用 getShortPath: notepadShor
【文件预览】:
shortlongpathname.zip

网友评论