Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSFileManagerMBS.currentDirectory as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property iCloud MBS MacCocoa Plugin 11.3 Yes No No Yes, macOS only No
Function: Returns the path of the program's current directory.
Example:
dim m as new NSFileManagerMBS
dim f as FolderItem = SpecialFolder.Applications
if m.changeCurrentDirectory(f) then
MsgBox m.currentDirectory.AbsolutePath
end if
Notes:
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)

Feedback, Comments & Corrections

NSFileManagerMBS.currentDirectoryPath as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property iCloud MBS MacCocoa Plugin 11.3 Yes No No Yes, macOS only No
Function: Returns the path of the program's current directory as string.
Example:
dim m as new NSFileManagerMBS
MsgBox m.currentDirectoryPath
Notes:
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)

Feedback, Comments & Corrections

NSFileManagerMBS.Handle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property iCloud MBS MacCocoa Plugin 18.5 Yes No No Yes, macOS only No
Function: The internal object reference.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSFileManagerMBS.homeDirectoryForCurrentUser as FolderITem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property iCloud MBS MacCocoa Plugin 18.5 Yes No No Yes, macOS only No
Function: Returns the home directory for the current user.
Notes: (Read only property)

Feedback, Comments & Corrections

NSFileManagerMBS.temporaryDirectory as FolderITem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property iCloud MBS MacCocoa Plugin 18.5 Yes No No Yes, macOS only No
Function: Returns the temporary directory for the current user.
Notes: (Read only property)

Feedback, Comments & Corrections

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




Links
MBS FileMaker Plugins