Difference between revisions of "Legacy:Functions/Filesystem"

From Spherical
Jump to: navigation, search
(created)
(No difference)

Revision as of 17:37, 22 May 2013

Filesystem

  • GetDirectoryList(directory) directory = directory in which to enumerate directories, the current game's directory if not specified. Returns an array of strings, which contain the directory names that reside in the directory directory of the game.
  • Rename(old, new): Renames or moves a file or directory.
  • CreateDirectory(directory): Creates a new directory.
  • RemoveDirectory(directory): Removes a directory.