GetSpecialFolder Method |
Description
Returns the special folder object specified.
PowerBASIC Syntax
Arguments
Return Value
IDispatch. Reference to a IFolder interface.
Settings
The bstrFolderSpec argument can have any of the following values:
Example [PowerBASIC]
#INCLUDE "windows.inc" #INCLUDE "scrrun.inc"
DIM fso AS IFileSystem DIM strName AS STRING
' Create an instance of the FileSystemObject fso = NEWCOM "Scripting.FileSystemObject" ' Get the name of an special folder strName = fso.GetSpecialFolderName (%SpecialFolder_WindowsFolder)
|