Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSFileManagerMBS class.
NSFileManagerMBS.currentDirectory as folderitem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | iCloud | MBS MacCocoa Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns the path of the program's current directory. If the program's current working directory isn't accessible, returns nil.
The string returned by this method is initialized to the current working directory; you can change the working directory by invoking changeCurrentDirectoryPath.
Relative pathnames refer implicitly to the current directory. For example, if the current directory is /tmp, and the relative pathname reports/info.txt is specified, the resulting full pathname is /tmp/reports/info.txt.
(Read only property)
NSFileManagerMBS.currentDirectoryPath as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | iCloud | MBS MacCocoa Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns the path of the program's current directory. If the program's current working directory isn't accessible, returns "".
The string returned by this method is initialized to the current working directory; you can change the working directory by invoking changeCurrentDirectoryPath.
Relative pathnames refer implicitly to the current directory. For example, if the current directory is /tmp, and the relative pathname reports/info.txt is specified, the resulting full pathname is /tmp/reports/info.txt.
(Read only property)
NSFileManagerMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | iCloud | MBS MacCocoa Plugin | 18.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write property)
NSFileManagerMBS.homeDirectoryForCurrentUser as FolderITem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | iCloud | MBS MacCocoa Plugin | 18.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
NSFileManagerMBS.temporaryDirectory as FolderITem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | iCloud | MBS MacCocoa Plugin | 18.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
The items on this page are in the following plugins: MBS MacCocoa Plugin.