如要改的很多文件, 在CAD的里也可以调用VLISP程序来自动处理,
Renames a file
(vl-file-rename old-filename new-filename)
Arguments
old-filename
A string containing the name of the file you want to rename. If you do not specify a full path name, vlfilerename looks in the AutoCAD startup directory.
new-filename
A string containing the new name to be assigned to the file.
Note If you do not specify a path name, vlfilerename writes the renamed file to the AutoCAD startup directory.
Return Values
T, if renaming completed successfully, nil if renaming failed.
Examples
_$ (vl-file-rename "c:/newauto.bat" "c:/myauto.bat") T |