Description

Gets or sets the root folder where the browsing starts from.

Syntax

RootFolder [ = Long ]

Property Value

One of the following values:

Name Description Value
ApplicationData The directory that serves as a common repository for application-specific data for the current roaming user. A roaming user works on more than one computer on a network. A roaming user's profile is kept on a server on the network and is loaded onto a system when the user logs on. 26
CommonApplicationData The directory that serves as a common repository for application-specific data that is used by all users. 35
CommonProgramFiles The directory for components that are shared across applications. ?
Cookies The directory that serves as a common repository for Internet cookies. 33
Desktop The logical Desktop rather than the physical file system location. 0
DesktopDirectory The directory used to physically store file objects on the desktop. Do not confuse this directory with the desktop folder itself, which is a virtual folder. 16
Favorites The directory that serves as a common repository for the user's favorite items. 6
History The directory that serves as a common repository for Internet history items. 34
InternetCache The directory that serves as a common repository for temporary Internet files. 32
LocalApplicationData The directory that serves as a common repository for application-specific data that is used by the current, non-roaming user. 26
MyComputer The "My Computer" folder. 17
MyMusic The "My Music" folder. 13
MyPictures The "My Pictures" folder. 39
Personal The directory that serves as a common repository for documents. ?
ProgramFiles The program files directory. 38
Programs The directory that contains the user's program groups. 2
Recent The directory that contains the user's most recently used documents. 8
SendTo The directory that contains the Send To menu items. 9
StartMenu The directory that contains the Start menu items. 11
Startup The directory that corresponds to the user's Startup program group. The system starts these programs whenever a user logs on or starts Windows NT or later, or starts Windows 98. 7
System The System directory. 37
Templates The directory that serves as a common repository for document templates. 21

Remarks

Only the specified folder and any subfolders that are beneath it will appear in the dialog box and be selectable. The SelectedPath property, along with RootFolder, determines what the selected folder will be when the dialog box is displayed, as long as SelectedPath is an absolute path that is a subfolder of RootFolder (or more accurately, points to a subfolder of the shell namespace represented by RootFolder).


The CHM file was converted to HTML by chm2web software.