(vl-file-rename oldfilename newfilename)


Rename a file.


This function returns T if the rename is successful or nil if unsuccessful.

Example

Code Returns
(vl-file-rename "d:\file.txt" "c:\newfile.txt") T

 

Tell me about...

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language