GetSpecialFolder

Returns a Windows Special Folder value by either a numeric value or as a special string value.

You can find the numeric CSIDL codes on MSDN.

Certain common string values are supported:

  • "Program Files Common"
  • "Program Files"
  • "Documents Common"
  • "Documents" or "Documents User" or "My Documents"
  • "Send To"
  • "My Computer"
  • "Desktop"
  • "Application Data"
  • "Application Data Common"

Note: This is a static function not a method of wwAPI.

GetSpecialFolder(lnFolder)

Return Value

Path or "" if not found or not supported

Parameters

lnFolder
Numeric CSIDL code or string shortcut


See also:

Class wwAPI

© West Wind Technologies, 2023 • Updated: 08/05/07
Comment or report problem with topic