# %\_username% as placeholder

**URL:** https://community.mp3tag.de/t/username-as-placeholder/40898
**Category:** General Discussion
**Created:** [February 22, 2018, 4:07pm UTC](https://community.mp3tag.de/t/username-as-placeholder/40898 "2018-02-22T16:07:45Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [February 22, 2018, 4:07pm UTC](https://community.mp3tag.de/t/username-as-placeholder/40898/1 "2018-02-22T16:07:45Z")

</div>

It would be nice to have the ability to write in an export or action the `username`.

For: [https://docs.mp3tag.de/export](https://docs.mp3tag.de/export)

**e.g.** (First line of an export file)  
`$filename(C:\Users\%_username%\Desktop\filename.txt,utf-8)`

---

<div class="post-metadata">

### Author: ![LaurenBacall](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/35a633/32.png) [@LaurenBacall](https://community.mp3tag.de/u/LaurenBacall)
#### Post date: [February 22, 2018, 4:12pm UTC](https://community.mp3tag.de/t/username-as-placeholder/40898/2 "2018-02-22T16:12:59Z")

</div>

I'm guessing from the topic request Mp3Tag doesn't support environment variables? As otherwise it would be possible to use `%userprofile%` to complete the path up to and including the username.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [February 22, 2018, 4:25pm UTC](https://community.mp3tag.de/t/username-as-placeholder/40898/3 "2018-02-22T16:25:25Z")

</div>

You can use `$getenv(USERPROFILE)` (and `$getenv(USERNAME)` if you only need the user name).

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [February 22, 2018, 4:48pm UTC](https://community.mp3tag.de/t/username-as-placeholder/40898/4 "2018-02-22T16:48:33Z")

</div>

> [@Florian](#):
>
> $getenv(USERPROFILE)

Yes!  
`$filename($getenv(USERPROFILE)\Desktop\Description.txt,utf-8)`

---

<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: [October 26, 2021, 5:34pm UTC](https://community.mp3tag.de/t/username-as-placeholder/40898/5 "2021-10-26T17:34:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
