Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want windows to use c:/temp as its temp folder. I want all other applications to use d:/temp as their temp folders.

I believe this is not possible, or is it ?

share|improve this question

You can try editing environment before you start the application. You can write a batch script.

set TEMP=D:\temp
call application.exe

That might not work in case when application doesn't read the location of a TEMP folder from environment (e.g. it reads it from registry instead).

share|improve this answer
I cant and don't want to write batch files for all applications. – digitalSurgeon Dec 11 '09 at 9:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.