Jump to content

Setting TEMP & TMP Directorys


Recommended Posts

I have searched google and this forum for "set temp path", "temp directory", "how to set temp path" along with a few others...no luck or I am not searching correctly. :blushing:

I also looked at the reference section of the guide as well but no luck.

So, could someone help answer or point me to how & where to set the path location of the TEMP and TMP file for an unattended install?

For example: I want Drive Z with 3 gigs of space to be the drive my temp and tmp directorys are written to. (to reduce fragmentation on my main disk)

This question has been driving me nuts tonight. :wacko:

Link to comment
Share on other sites


I have searched google and this forum for "set temp path", "temp directory", "how to set temp path" along with a few others...no luck or I am not searching correctly.  :blushing:

I also looked at the reference section of the guide as well but no luck.

So, could someone help answer or point me to how & where to set the path location of the TEMP and TMP file for an unattended install?

For example: I want Drive Z with 3 gigs of space to be the drive my temp and tmp directorys are written to. (to reduce fragmentation on my main disk)

This question has been driving me nuts tonight.  :wacko:

Change the properties in Windows then export the following registry keys;

[HKEY_CURRENT_USER\Environment]

"TEMP"="D:\\TEMP"

"TMP"=hex(2):44,00,3a,00,5c,00,54,00,45,00,4d,00,50,00,00,00

Link to comment
Share on other sites

i use the below in my regtweaks.reg file held in the $OEM$ folder and it works a treat for all users

; Set Location for Temp files
[HKEY_CURRENT_USER\Environment]
"TEMP"="c:\\Temp"
"TMP"="c:\\Temp"

Edited by oioldman
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...