Platforms to show: All Mac Windows Linux Cross-Platform

SpotlightMetadataCacheFolderMBS(domain as Integer) as folderitem   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Special Folders MBS Util Plugin 10.4 ✅ Yes ❌ No ❌ No ✅ Yes All
This item is deprecated and should no longer be used. You can use SpecialFolder module instead.
Returns a folderitem to this folder if it exists on that system.
Example
const kUserDomain = -32763
dim f as folderitem = SpotlightMetadataCacheFolderMBS(kUserDomain)

Note that not every folder exists on every Mac OS Version!
The codes for domain are (The Demo includes a module for these):
-32768On System Disk
-32767On Appropriate Disk
-32766System Domain, on Mac OS X mostly inside the folder /System.
-32765Local Domain (on Netbooting for example)
-32764Network Domain (on Netbooting for example)
-32763User Domain, on Mac OS X mostly inside the users folder.
-32762Classic Domain, the current used Classic System folder.
Also take a look on the CreateSpotlightMetadataCacheFolderMBS function.

Blog Entries

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...