Previous - sysFolderTemp Section Home - File System Next - sysDriveType


sysFolderSpecial ( )

Obtains one of the system special directories

Usage:

sysFolderSpecial (object me, integer folderType, integer createIfNotExist)

Parameters:

folderType (string) - the special folder desired. The possible types are:

  1. Desktop
  2. Favorites
  3. Fonts
  4. History
  5. Internet cache
  6. My Music
  7. My Pictures
  8. Program Files
  9. Program Files common
  10. Programs
  11. Recent
  12. Send To
  13. Start Menu
  14. Start Up
  15. System
  16. Templates
  17. Windows

createIfNotExist (boolean) - force windows to create the folder if not exist

Returns:

(string) - a string specifying the newly created unique file

Example:

xtRose = xtra("Rosetta").new( )
strProFiles = xtRose.sysFolderSpecial( 8, 0 )

Notes:


Previous - sysFolderTemp Section Home - File System Next - sysDriveType