DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:rename_folder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:rename_folder [2015/03/04 18:23] (current)
octazid created
Line 1: Line 1:
 +=====RenameFolder=====
  
 +//​(Information and examples taken from the DroidScript documentation)//​
 +
 +====Description====
 +
 +The **RenameFolder** method renames a folder in internal or exernal file storage.
 +
 +<​code>​ app.RenameFolder( folderName, newFolderName );</​code>​
 +
 +----
 +
 +====Example====
 +
 +<code javascript>​
 +
 +function OnStart()
 +{
 +  app.RenameFolder( "/​sdcard/​MyFolder",​ "/​sdcard/​YourFolder"​ );
 +}  ​
 +
 +</​code>​
built_in/rename_folder.txt ยท Last modified: 2015/03/04 18:23 by octazid