bool moveDirectory(string from, string to)
Moves and/or renames a directory
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
from |
string The old path of the directory |
to |
string The new path of the directory |
Return
True on success, and false if the directory did not exist or an error occurred
Examples
if (KioFileIO.getDirectoryDetails('/home/kiosk/Projects').exists)
KioFileIO.moveDirectory('/home/kiosk/Documents');
Requirements
KioWare OS (Linux®) version 1.0 or greater.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.