dos_shortpath

长路径名转换成短路径名.


语法

(dos_shortpath path)

参数

path

长路径名.

返回

如果成功, 返回短路径名.

nil on error.

示例

Command: (setq x (dos_shortpath "C:\\Program Files\\AutoCAD 2006\\"))

"C:\\PROGRA~1\\AUTOCA~1\\"

 

Command: (dos_longpath x)

"C:\\Program Files\\AutoCAD 2006\\"