Temporary file path

DH
Posted By
Darryl_Hawke
May 27, 2004
Views
1166
Replies
2
Status
Closed
Is there any way to edit the Tempoaray File Path setting with shows up under System Info in the Help Menu. My image calibrator plugin sends the files there automatically and I want them to go elsewhere.
Thanks,
Darryl

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

DP
Daryl_Pritchard
May 27, 2004
Hi Darryl,

Not knowing what O/S you’re running and given that I’m on a Win2000 PC at the moment, I’ll just offer that the Temporary File Path is governed by the TEMP environment variable settings. For Windows 2000 that may be changed by going to My Computer > Properties > Advanced > Environment Variables, and editing the TEMP variable to the path you want used. By default this would be in the Local Settings of the current user’s Documents and Settings path. I believe the change for Windows XP is made in a similar location.

Note that the TEMP path is a globally used directory for many applications, so changing it will affect them all. However, such a change is usually transparent to normal operations. If your image calibration application has any means for changing what path to use other than the TEMP area, you might consider using that option rather than changing the environment variable setting. I’m guessing by your question that you’ve already looked for such an option and had no luck. To that end, one final suggestion if you’re familiar with editing the Windows Registry (not recommended unless you know what you’re doing), is to search for the registry keys associated with your image calibrator and see if any of them define use of the TEMP path. If so, you may be able to get the results you want by editing the key(s) pointing to that path and changing it to the desired path.

Hope that helps,

Daryl
JG
John_Gregson
May 27, 2004
In Windows 2000 and WindowsXP you can temporarily change the TEMP and TMP variables for a process without affecting the system’s setting. For example, assuming that the calibration program is called calibrate.exe, the following bat file should have the desired effect:

set TMP=c:\other\tmp
set TEMP=c:\other\tmp
calibrate.exe

TMP and TEMP should be specified since the program could be using one or the other.

I say should because in some cases these variables would be ignored and the system’s variables used, instead. calibrate.exe may be spawning a child process with a type of system call which ignores local settings and uses the system’s environment variables. So you’d need to experiment.

Alternatively, you could just change the settings for those processes started by your user (in fact, the default setting for XP send users TMP files to c:\documents and settings\%USERNAME%\Local Settings\Temp

To change those variables, Control Panel->System Settings->Advanced->Environment Variables->User Variables

John Gregson

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections