vl-file-directory-p
V Functions
vl-file-size
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, vl-file-rename looks
in the AutoCAD default drawing directory.
-
new-filename
-
A string containing the new name to be assigned to
the file.
NoteIf you do not specify
a path name, vl-file-rename writes
the renamed file to the AutoCAD default drawing directory.
Return Values
T, if renaming completed successfully; nil if renaming failed.
Examples
_$ (vl-file-rename "c:/newauto.bat"
"c:/myauto.bat")
T