Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion

How to edit ini configuration file to change TempDir?

jocics - April 12, 2007 - 3:50am

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...


( categories: )

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!

OK

Thanks

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

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

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!

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) <- that is the point of portability too you know

could you simply add two radio buttons: "use TEMP directory" and "use specified directory as temporary dir"? or at least something like remember the directory I specify and when it differs from the TEMP variable ask me if it should be changed.

I would really appriciate that

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