# Is there a way to change TempPath?

**URL:** https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001
**Category:** Support
**Created:** [November 3, 2021, 8:48am UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001 "2021-11-03T08:48:28Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![rama](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rama/32/10166_2.png) [@rama](https://community.mp3tag.de/u/rama)
#### Post date: [November 3, 2021, 8:48am UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/1 "2021-11-03T08:48:28Z")

</div>

Hi  
is there a way to change the TempPath editing the config or preferences ?

I have 't any problem running at home , install or portable version  
but i have created a portable version and i have it on my usb stick  
and at work w10 pro 64bit limited user , i got many errors (in the Mp3tagError.log , now i have delete the file because I had to stop to use at work )  
I guess the TempPath is protected , and i can't change the folder permission

the TempPatch is C:\Users\X\AppData\Local\Temp\Mp3tag v3.11  
X stay for my user account but i have tried on other computers ,same issues and different name  
so I wonder if i could changed it to c:\temp\Mp3tag v3.11\ or even better F:\temp\Mp3tag v3.11  
I have searched around the forum , haven't found a way to change it  
thanks

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 3, 2021, 9:06am UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/2 "2021-11-03T09:06:24Z")

</div>

Usually, the TEMP-path is defined on your windows system as an environment variable.  
Open a command line window (`CMD`) and enter  
SET ENTER  
You can see the `TEMP=` and `TMP=` variables.

I'm not sure if it is a good idea to change this TEMP= and TMP= [environment path variables](https://www.architectryan.com/2018/08/31/how-to-change-environment-variables-on-windows-10/), as they serve not only for Mp3tag. It could be that you can't change it at work as "w10 pro 64bit limited user".

---

<div class="post-metadata">

### Author: ![rama](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rama/32/10166_2.png) [@rama](https://community.mp3tag.de/u/rama)
#### Post date: [November 3, 2021, 9:20am UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/3 "2021-11-03T09:20:26Z")

</div>

hi @LyricsLover  
yes I thought about it ,but i agree could be a bad idea  
maybe Florian (the developer) could add the possibility to edit the temp folder in the preferences  
it's not problem for my home computer but it does give me several issues on the work computer  
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: [November 3, 2021, 9:36am UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/4 "2021-11-03T09:36:23Z")

</div>

I would check which access rights the temp folder has.  
I mean: what's the use of a temp folder to write temporary data to when you are not allowed to write...?

---

<div class="post-metadata">

### Author: ![rama](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rama/32/10166_2.png) [@rama](https://community.mp3tag.de/u/rama)
#### Post date: [November 3, 2021, 9:44am UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/5 "2021-11-03T09:44:53Z")

</div>

@ohrenkino  
Hi  
I haven't now here mp3tag ,but i guess there are several protected folders and yes the problem is that mp3tag can't write in these folders (seeing i have tried on 2 work computers)  
I had the same problem with musicbee ,it does use the same folder ,but the developer added an option line to specify the temp folder ,so I (and other users) can use it  
with musicbee i had exactly the same issues ,write errors  
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: [November 3, 2021, 9:49am UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/6 "2021-11-03T09:49:01Z")

</div>

Even if you do not have MP3tag right there, you could still check the access rights and other permissions.  
Also, it may be an idea to start MP3tag with the permissions of your limited account with the right-click option "Start as".  
(I mean: it could be on purpose that you are not allowed to start other applications than the one issued by your administrator...)

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 3, 2021, 11:41am UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/7 "2021-11-03T11:41:54Z")

</div>

> [@rama](#):
>
> the TempPatch is C:\Users\X\AppData\Local\Temp\Mp3tag v3.11

That cannot be valid for a portable installation because it belongs to a user-account. Portable installations have to keep all files in theit installation folder.

---

<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: [November 3, 2021, 4:29pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/8 "2021-11-03T16:29:10Z")

</div>

The portable installation uses this path as Temp path and performs cleanup on close — it's what the system returns via [GetTempPath()](https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-gettemppathw).

---

<div class="post-metadata">

### Author: ![rama](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rama/32/10166_2.png) [@rama](https://community.mp3tag.de/u/rama)
#### Post date: [November 3, 2021, 4:45pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/9 "2021-11-03T16:45:24Z")

</div>

hi @Florian  
is there a way to change it in the config or in some ini file ?  
got write error ,my operation system in not in english so the translation is not accurate  
thanks

---

<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: [November 3, 2021, 4:52pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/10 "2021-11-03T16:52:23Z")

</div>

With a portable installation you can create a `StartMp3tag.bat` text file in the Mp3tag directory. In that file, you can temporarily overwrite the `TMP` and `TEMP` environment variables to use this directory and start Mp3tag.exe from that environment:

```auto
set TMP=. 
set TEMP=%TMP%
start Mp3tag.exe

```

You'd need to run Mp3tag via this `StartMp3tag.bat` to use the updated Temp path.

---

<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: [August 3, 2023, 3:59pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-change-temppath/55001/11 "2023-08-03T15:59:50Z")

</div>

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