User Login
Name
Password
Site Contents
News
About
Download
Scripts
Tutorials
Register
Support
FAQ
Script Reference
New User


Contact Me
Xide
Online Scripting Reference

rename

Purpose
Renames a file.

Syntax
rename {oldfile} {newfile}

{oldfile}: The file name of the file to rename.

{newfile}: The new name of the renamed file.



Notes
This command will give a file a new name. If the file does not exist, or another file exists under the new name, an error is raised.

To check if a file already exists, use the "fileExists" command.

Example



Return to item listing