You are here

Audacity: How to edit ini configuration file to change TempDir?

8 posts / 0 new
Last post
jocics
Offline
Last seen: 16 years 1 week ago
Joined: 2007-04-11 16:10
Audacity: How to edit ini configuration file to change TempDir?

Hello,
I'm using Audacity Portable on my PC and I would like to change TempDir (Temporary Directory) because it is reseted everytime I start Audacity.

It's not so important, I can use temporary directory in my profile settings on C:, but I would really like to point that somewhere else without applying registry file.

Does anybody know how can I do that?
Can I change that in .ini file?

Thanks in advance!
Greetings from Sergej...

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
You can't

The temp directory is automatically set to a specific directory within the TEMP directory on the local PC so that it can be checked for residual files on exit. If there are, it warns you that Audacity may have crashed and asks if you'd like to leave them (so the next time you start Audacity Portable it will recover). It will clean them up if you don't. There is no option to change this behavior.

Sometimes, the impossible can become possible, if you're awesome!

jocics
Offline
Last seen: 16 years 1 week ago
Joined: 2007-04-11 16:10
OK

Thanks

Raik
Offline
Last seen: 15 years 2 months ago
Joined: 2007-05-01 08:25
no, not "TEMP" but "TMP" and

no, not "TEMP" but "TMP" and to change this behavior, use a little batch:

@echo off
set TMP=d:\audacity_temp
start AudacityPortable.exe
falco
Offline
Last seen: 17 years 3 months ago
Joined: 2007-07-20 15:41
could anyone PLEASE make

could anyone PLEASE make audacity portable with an editable temp dir, or move it to local directory? I need audacity to process large files and C: gets stuck every time I try

I don't want to change any system variables

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 31 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fix your system

You need to fix your system. Audacity uses the TEMP directory as specified by the PC. The temp directory on the PC is supposed to have plenty of space to be able to work with files. If it doesn't, you're out of luck.

I may add in the ability to specify the portable device as the temp directory location in a later release, but you will not be able to specify a specific drive (that's not the point of a portable app). For things like that, use the normal Audacity and adjust things from there.

Sometimes, the impossible can become possible, if you're awesome!

falco
Offline
Last seen: 17 years 3 months ago
Joined: 2007-07-20 15:41
you must remember that a

you must remember that a portable application should not create or edit any files that are not in it's . directory (no exceptions)

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 10 months ago
Developer
Joined: 2006-12-06 18:07
a portable app can create

a portable app can create and edit files, it just has to clean up any changes that it made when the program exits.
_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

Log in or register to post comments