Make Path Relative To

Make Path Relative To

Windows
MacOS
Linux

Assuming both paths (or filenames) are relative to the same base dir, converts InPath to be relative to InRelativeTo

Target is Blueprint Paths Library

Make Path Relative To
In Path
In Relative To
Out Path
Return Value

Inputs

In Path
String

Path to change to be relative to InRelativeTo

In Relative To
String

Path to use as the new relative base

Outputs

Out Path
String
Return Value
Boolean

true if OutPath was changed to be relative

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback