# Copy Filename to comment (before renaming file) - how?

**URL:** https://community.mp3tag.de/t/copy-filename-to-comment-before-renaming-file-how/12723
**Category:** Support
**Created:** [November 23, 2011, 7:33am UTC](https://community.mp3tag.de/t/copy-filename-to-comment-before-renaming-file-how/12723 "2011-11-23T07:33:31Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![globetrotting](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/e68b1a/32.png) [@globetrotting](https://community.mp3tag.de/u/globetrotting)
#### Post date: [November 23, 2011, 7:33am UTC](https://community.mp3tag.de/t/copy-filename-to-comment-before-renaming-file-how/12723/1 "2011-11-23T07:33:31Z")

</div>

I'd like to save the original filename into %comment% before renaming the file with my scheme.  
The comment-Field already has a text string which should stay there so that the filename should be appended to this text.  
Can this be done?

Thx

And, of course: Thank you for this great program, I use it for years together with foobar2000.

---

<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: [November 23, 2011, 7:39am UTC](https://community.mp3tag.de/t/copy-filename-to-comment-before-renaming-file-how/12723/2 "2011-11-23T07:39:47Z")

</div>

> [@globetrotting](#):
>
> I'd like to save the original filename into %comment% before renaming the file with my scheme.  
> Can this be done?
> 
> Thx
> 
> And, of course: Thank you for this great program, I use it for years together with foobar2000.

Have a look at the FAQs  
[/t/967/1](https://community.mp3tag.de/t/967/1)  
and use as contents for comment %\_filename% or %\_filename\_ext% as you prefer it.

---

<div class="post-metadata">

### Author: ![globetrotting](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/e68b1a/32.png) [@globetrotting](https://community.mp3tag.de/u/globetrotting)
#### Post date: [November 23, 2011, 7:54am UTC](https://community.mp3tag.de/t/copy-filename-to-comment-before-renaming-file-how/12723/3 "2011-11-23T07:54:52Z")

</div>

Thank you for the fast reply, Ohrenkino. 🙂  
You were faster than my edit in which I precised that the old %comment% -value should not be wiped out, sorry.

---

<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: [November 23, 2011, 8:06am UTC](https://community.mp3tag.de/t/copy-filename-to-comment-before-renaming-file-how/12723/4 "2011-11-23T08:06:08Z")

</div>

Then append the value to  
%comment% \_ %\_filename%

---

<div class="post-metadata">

### Author: ![globetrotting](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/e68b1a/32.png) [@globetrotting](https://community.mp3tag.de/u/globetrotting)
#### Post date: [November 23, 2011, 10:03am UTC](https://community.mp3tag.de/t/copy-filename-to-comment-before-renaming-file-how/12723/5 "2011-11-23T10:03:07Z")

</div>

Yes, works like a charm, thank you again!

[The meaning of life, HAL]

---

<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:23pm UTC](https://community.mp3tag.de/t/copy-filename-to-comment-before-renaming-file-how/12723/6 "2026-02-09T12:23:27Z")

</div>


