# Create Batch NFO Files for each file in recursive folders

**URL:** <https://community.mp3tag.de/t/create-batch-nfo-files-for-each-file-in-recursive-folders/18807>\
**Category:** Support\
**Created:** [March 15, 2017, 5:54pm UTC](https://community.mp3tag.de/t/create-batch-nfo-files-for-each-file-in-recursive-folders/18807 "2017-03-15T17:54:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![spacemannn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@spacemannn](https://community.mp3tag.de/u/spacemannn)\
**Post date:** [March 15, 2017, 5:54pm UTC](https://community.mp3tag.de/t/create-batch-nfo-files-for-each-file-in-recursive-folders/18807/1 "2017-03-15T17:54:55Z")

</div>

Hi there,

I have a question about the export function. I want to create NFO files for each mp4 file in recursive folders. So far I have this:

```
$filename(%_filename%.nfo)<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<movie>
    <title>%title%</title>
    <sorttitle>%_filename%</sorttitle>
    <actor>
    <name>%artist%</name>
    </actor>
</movie>

```

The problem with this method is that it only creates one nfo file in each folder, and not seperate files. Also it outputs the file in the root folder and not in the recursive folders (for each artist there is a separate folder).

Can someone assist me with this?

Thanks 🙂

---

<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:** [March 15, 2017, 6:00pm UTC](https://community.mp3tag.de/t/create-batch-nfo-files-for-each-file-in-recursive-folders/18807/2 "2017-03-15T18:00:36Z")

</div>

Perhaps this thread guides you in the general direction:  
[https://forums.mp3tag.de/lofiversion/index.php?t22013.html](https://forums.mp3tag.de/lofiversion/index.php?t22013.html)

The basic idea is that you extend the filename-creation-format-string:  
"Instead of variables for the path, you can use string constants and an absolute path. So instead of  
%\_folderpath%\%\_filename%.txt  
use  
\\?\unix\Volumes\Music\PNTemp\%album%\%\_filename%.txt"

Yet, I doubt that you can actually create separate files unless they end up in separate folders as well.

---

<div class="post-metadata">

**Author:** ![spacemannn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@spacemannn](https://community.mp3tag.de/u/spacemannn)\
**Post date:** [March 15, 2017, 6:17pm UTC](https://community.mp3tag.de/t/create-batch-nfo-files-for-each-file-in-recursive-folders/18807/3 "2017-03-15T18:17:51Z")

</div>

Thanks, I am a windows user, you know how to create an absolute path for windows as well? Cheers.

---

<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:** [March 15, 2017, 6:29pm UTC](https://community.mp3tag.de/t/create-batch-nfo-files-for-each-file-in-recursive-folders/18807/4 "2017-03-15T18:29:53Z")

</div>

I'll try:

d:\music\%artist%\%album%\%\_filename%.nfo"

---

<div class="post-metadata">

**Author:** ![spacemannn](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@spacemannn](https://community.mp3tag.de/u/spacemannn)\
**Post date:** [March 15, 2017, 7:26pm UTC](https://community.mp3tag.de/t/create-batch-nfo-files-for-each-file-in-recursive-folders/18807/5 "2017-03-15T19:26:14Z")

</div>

> [@ohrenkino](#):
>
> I'll try:
> 
> d:\music\%artist%\%album%\%\_filename%.nfo"

Cheers m8, that worked!

---

<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:26pm UTC](https://community.mp3tag.de/t/create-batch-nfo-files-for-each-file-in-recursive-folders/18807/6 "2026-02-09T12:26:43Z")

</div>


