# How to Store the Source file Path with Relative Path

**URL:** <https://forums.unrealengine.com/t/how-to-store-the-source-file-path-with-relative-path/382081>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, editor, UE4, question\
**Created:** [January 17, 2017, 3:59am UTC](https://forums.unrealengine.com/t/how-to-store-the-source-file-path-with-relative-path/382081 "2017-01-17T03:59:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![amcofi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@amcofi](https://forums.unrealengine.com/u/amcofi)\
**Post date:** [January 17, 2017, 3:16pm UTC](https://forums.unrealengine.com/t/how-to-store-the-source-file-path-with-relative-path/382081/2 "2017-01-17T15:16:42Z")

</div>

Hei, just add `RelativePath` to the list of meta properties, like so:

```
/** Just a demo property */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Demo", meta = (RelativePath))
FDirectoryPath TestPath;

```

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-store-the-source-file-path-with-relative-path/382081)._
