Platforms to show: All Mac Windows Linux Cross-Platform

NewCFURLMBSPosixPath(cfstr as CFStringMBS,directory as boolean) as CFURLMBS

Type Topic Plugin macOS Windows Linux iOS Targets
global method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new CFURLMBS from the CFStringMBS which is interpreted as a Posix path.
Example
// create a CFURL from a unix path
Var url As CFURLMBS = NewCFURLMBSPosixPath(NewCFStringMBS("/Applications"), True) // True = directory
MessageBox url.Str.Str // file:///Applications/

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


The biggest plugin in space...