Compares the two paths you specify and returns information about whether the two paths share a common path.
First path you specify.
Second path you specify.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Relative path you have to take on disk to get from path 1 to path 2.
Part of the absolute path that path 1 shares with path 2.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Input or Output | Value |
---|---|
path 1 | C:\folder\sub\test.txt |
path 2 | C:\folder\sub2\dir\test2.doc |
relative path from 1 to 2 | ..\..\sub2\dir\test2.doc |
common path | C:\folder |
path 2 relative to path 1? | False |
Input or Output | Value |
---|---|
path 1 | C:\folder\sub |
path 2 | C:\folder\sub\dir\test2.doc |
relative path from 1 to 2 | dir\test2.doc |
common path | C:\folder\sub |
path 2 relative to path 1? | True |
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices
Web Server: Not supported in VIs that run in a web application