# Action to Clear Directory

**URL:** <https://community.mp3tag.de/t/action-to-clear-directory/57063>\
**Category:** Support\
**Created:** [April 17, 2022, 8:45pm UTC](https://community.mp3tag.de/t/action-to-clear-directory/57063 "2022-04-17T20:45:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnE\_EC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/ccd318/32.png) [@JohnE\_EC](https://community.mp3tag.de/u/JohnE_EC)\
**Post date:** [April 17, 2022, 8:45pm UTC](https://community.mp3tag.de/t/action-to-clear-directory/57063/1 "2022-04-17T20:45:12Z")

</div>

Sorry to be such a nuisance, but I have read about how to do this, but nothing I could find actually told me exactly how to do this.

I want to clear the Directory field using an Action.

Here is what I have done:

```auto
Action: Remove fields
Fields to remove (semicolon-separated): DIRECTORY

```

This doesn't seem to work. I am wondering what I need to change to get this to work.

Any help would be really appreciated, please.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [April 17, 2022, 8:49pm UTC](https://community.mp3tag.de/t/action-to-clear-directory/57063/2 "2022-04-17T20:49:46Z")

</div>

I am not sure what you intend to do.  
But \_DIRECTORY is no field but a property maintained by the OS.  
As long as the file is there, it also has the property shown in \_DIRECTORY.

What do you want to achieve with clearing the \_DIRECTORY?

---

<div class="post-metadata">

**Author:** ![JohnE\_EC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/ccd318/32.png) [@JohnE\_EC](https://community.mp3tag.de/u/JohnE_EC)\
**Post date:** [April 17, 2022, 9:26pm UTC](https://community.mp3tag.de/t/action-to-clear-directory/57063/3 "2022-04-17T21:26:54Z")

</div>

Thanks a lot for the reply.

I want to clear the directory so that when I share the file, it does not show the directory that I am using to store this file.

Or have I got this wrong, and it does not store this info, but rather shows the directory location automatically for the individual user on their PC?

In other words, I don't need to bother clearing the directory contents.

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [April 18, 2022, 12:08am UTC](https://community.mp3tag.de/t/action-to-clear-directory/57063/4 "2022-04-18T00:08:03Z")

</div>

Is this for an export action? If so you can limit that to the filename only. You can’t remove the \_Directory info, as that is fixed data from the OS, not a metadata field.

---

<div class="post-metadata">

**Author:** ![JohnE\_EC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/ccd318/32.png) [@JohnE\_EC](https://community.mp3tag.de/u/JohnE_EC)\
**Post date:** [April 18, 2022, 3:06am UTC](https://community.mp3tag.de/t/action-to-clear-directory/57063/5 "2022-04-18T03:06:27Z")

</div>

That's great thanks.

It seems that I was not really understanding what the Directory field showed.

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:29pm UTC](https://community.mp3tag.de/t/action-to-clear-directory/57063/6 "2026-02-09T12:29:44Z")

</div>


