Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Finds the file or folder for the given NodeID on the given volume.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 3.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |
Parameter | Description | Example |
---|---|---|
VolumePath | The native path to the volume. | "/" |
NodeID | The node ID for the file, a number. | $nodeID |
Returns the path for the file or error message.
Resolve node on system volume:
MBS( "Files.GetPathFromNodeID"; "/"; $NodeID )
Resolve node on mounted volume named USBStick:
MBS( "Files.GetPathFromNodeID"; "/Volumes/USBStick"; $NodeID )
Test ID functions:
Set Variable [ $path ; Value: "/Users/cs/Desktop/test.rtf" ]
Set Variable [ $id ; Value: MBS( "Files.GetNodeID"; $Path ) ]
Set Variable [ $NewPath ; Value: MBS( "Files.GetPathFromNodeID"; "/"; $id ) ]
Show Custom Dialog [ "Both Paths should be same" ; $Path & ¶ & $newPath ]
Test on Windows:
Set Variable [ $node ; Value: MBS( "Files.GetNodeID"; "C:\Users\Christian\Desktop\DbgView.exe") ]
Set Variable [ $path ; Value: MBS( "Files.GetPathFromNodeID"; "C:"; $node) ]
Show Custom Dialog [ "NodeID" ; $node & ¶ & $path ]
This function checks for a license.
Created 18th August 2014, last changed 25th October 2018