Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
22 lines (17 loc) · 611 Bytes

file.rename.md

File metadata and controls

22 lines (17 loc) · 611 Bytes

file.rename

The rename function is established to rename a file or folder.

Sample

	file.rename("myFolder/myFile.txt","yourFile.txt");
	file.rename("myFolder","yourFolder");

API

CallingReturning
file . rename ( orgPath, newName )
ParametersTypeDescription
orgPathStringThe relative file or folder path to the storage for renaming.
newNameStringA new file or folder name.