vl-file-rename


(vl-file-rename oldName newName)

This function renames the file oldName to a new name newName.

Arguments

oldName  (string) specifies the existing file; if no path is included, the file is searched in the current OS folder
newName  (string) new name for the file

Return

T if renaming succeeded, NIL in case of an error

Example


Remarks

if a file with name newName does already exist, the function will fail



©  Bricsys NV. All rights reserved.