Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

Files.GetNodeID

Queries the NodeID fo the file or folder.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Files 3.1 Yes No Yes, macOS only No No

MBS( "Files.GetNodeID"; Path )

Parameters

Parameter Description Example value
Path The native file/folder path. $path

Result

Returns file ID as number.

Description

Queries the NodeID fo the file or folder.
On Mac OS X, every file usually has an unique ID on the hard disk.
Not all volumes support NodeIDs, but if they do, you can later find the file back on that volume using Files.GetPathFromNodeID.

Examples

Queries node ID:

Set Variable [$r; Value:MBS( "Files.GetNodeID"; "/Users/cs/Desktop/todo.rtf")]

See also

Example Databases


Files.GetFinderLabel   -   Files.GetPathFromNodeID

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins