Carbon


Folder Type Constants

Header: Folders.h

Specify a type of folder on a particular volume.

enum {
    kSystemFolderType = 'macs',
    kDesktopFolderType = 'desk',
    kSystemDesktopFolderType = ''sdsk'',
    kTrashFolderType = ''trsh'',
    kSystemTrashFolderType = ''strs'',
    kWhereToEmptyTrashFolderType = ''empt'',
    kPrintMonitorDocsFolderType = ''prnt'',
    kStartupFolderType = ''strt'',
    kShutdownFolderType = ''shdf'',
    kAppleMenuFolderType = ''amnu'',
    kControlPanelFolderType = ''ctrl'',
    kSystemControlPanelFolderType = ''sctl'',
    kExtensionFolderType = ''extn'',
    kFontsFolderType = ''font'',
    kPreferencesFolderType = ''pref'',
    kSystemPreferencesFolderType = ''sprf'',
    kTemporaryFolderType = ''temp''
};

Constant descriptions

kSystemFolderType

Specifies the System Folder.

kDesktopFolderType

Specifies the Desktop Folder.

kSystemDesktopFolderType
kTrashFolderType

Specifies the single-user Trash folder.

kSystemTrashFolderType
kWhereToEmptyTrashFolderType

Specifies the shared Trash folder; on a file server, this indicates the parent directory of all logged-on users’ Trash subdirectories.

kPrintMonitorDocsFolderType

Specifies the PrintMonitor Documents folder in the System Folder.

kStartupFolderType

Specifies the Startup Items folder in the System Folder.

kShutdownFolderType

Specifies the Shutdown Items folder in the System Folder.

kAppleMenuFolderType

Specifies the Apple Menu Items folder in the System Folder.

kControlPanelFolderType

Specifies the Control Panels folder in the System Folder.

kSystemControlPanelFolderType
kExtensionFolderType

Specifies the Extensions folder in the System Folder.

kFontsFolderType

Specifies the Fonts folder in the System Folder.

kPreferencesFolderType

Specifies the Preferences folder in the System Folder.

kSystemPreferencesFolderType
kTemporaryFolderType

Specifies the Temporary folder. This folder exists as an invisible folder at the volume root.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)