Navigation:  thinBasic Modules > OS (Operating System) >

OS_GetSpecialFolder

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns complete path to every Operating System special foldes.

 

Syntax

 

s = OS_GetSpecialFolder(CLSID)

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

CLSID

Numeric

No

See OS Equates for possible predefined values





 

Remarks

 

See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/enums/csidl.asp 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

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com