Legacy:Functions/Filesystem

From Spherical
< Legacy:Functions
Revision as of 17:41, 22 May 2013 by Apollolux (talk | contribs) (Filesystem: moved GetFileList into here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.
  • GetFileList(directory): Gets an array of strings containing the filenames in 'directory'.
  • RemoveFile(filename): Deletes a file.
  • Rename(old, new): Renames or moves a file or directory.
  • CreateDirectory(directory): Creates a new directory.
  • RemoveDirectory(directory): Removes a directory.