OS_GetSpecialFolder

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > OS (Operating System) >

OS_GetSpecialFolder

 

Description

 

Returns complete path to every Operating System special folders.

 

Syntax

 

s = OS_GetSpecialFolder(CLSID)

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

CLSID

Numeric

No

See OS Equates for possible predefined values

 

Remarks

 

See https://msdn.microsoft.com/it-it/library/windows/desktop/bb762494(v=vs.85).aspx for CSIDL values.

 

CSIDL values provide a unique system-independent way to identify special folders used frequently by applications, but which may not have the same name or location on any given system. For example, the system folder may be "C:\Windows" on one system and "C:\Winnt" on another.

 

Restrictions

 

Some CLSID may not be present to all Windows versions. Please refer to the above Microsoft link for which CLSID is present with which OS version.

 

See also

 

Examples