Renames a file
(vl-file-rename old-filename new-filename)
Arguments
vl-file-rename looks in the AutoCAD default drawing directory.
A string containing the name of the file you want to rename. If you do not specify a full path name,A string containing the new name to be assigned to the file.
Return Values
nil if renaming failed.
T, if renaming completed successfully;Examples
_$ (vl-file-rename "c:/newauto.bat" "c:/myauto.bat")
T