Renames a file
Supported Platforms: Windows and Mac OS
(vl-file-rename old-filename new-filename)
Type: String
Name of the file you want to rename. If you do not specify a full path name, vl-file-rename looks in the AutoCAD default drawing directory.
Type: String
New name to be assigned to the file.
Type: T or nil
T, if renaming completed successfully; nil if renaming failed.
Releases:
AutoCAD 2021
(vl-file-rename "c:/newauto.bat" "c:/myauto.bat") T
(vl-file-rename "/oldstartup.sh" "/mystartup.sh") T