Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

VBScript FileSystemObject Object GetSpecialFolder Method

Returns the special folder specified.

Syntax: VBScript FileSystemObject Object GetSpecialFolder Method

object.GetSpecialFolder(folderspec)

Arguments: VBScript FileSystemObject Object GetSpecialFolder Method

object

The name of a FileSystemObject. Required.

folderspec

The name of the special folder to be returned. Can be any of the constants shown in the Settings section. Required.

Settings: VBScript FileSystemObject Object GetSpecialFolder Method

The folderspec argument can have any of the following values:

Constant

Value

Description

WindowsFolder

0

The Windows folder contains files installed by the Windows operating system. Not supported on Unix.

SystemFolder

1

The System folder contains libraries, fonts, and device drivers. Not supported on Unix.

TemporaryFolder

2

The Temp folder is used to store temporary files. Its path is found in the TMP environment variable.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.