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

Remarks

This is a standalone function not a method of the `wwApi` class.


See also:

Class wwAPI

© West Wind Technologies, 1996-2024 • Updated: 04/24/24
Comment or report problem with topic