Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: temp directory

04 Nov 2010   #1

Windows 7 Enterprise
 
 
temp directory


Question about new temp location for Windows 7 (C:\Users\isco202\AppData\Local\Temp)



This could be a problem for very often we use the %temp% folder in our scripts to put files there temporary. If no user logged on or we are distributing it via SMS, I wonder what is the %Temp% environment is defined?

Thanks
Jason



My System SpecsSystem Spec
.

04 Nov 2010   #2

ultimate 64 sp1
 
 

hi JasonY, welcome to sevenforums,

you can manually set the location in 'advanced system settings' - see below - is this what you mean?

it's something i've always set on a new windows install for a long time now, but i've always wondered about the difference between TEMP and TMP.


Attached Thumbnails
temp directory-here2.png  
My System SpecsSystem Spec
04 Nov 2010   #3

Windows 7 Enterprise
 
 

Quote   Quote: Originally Posted by mickey megabyte View Post
hi JasonY, welcome to sevenforums,

you can manually set the location in 'advanced system settings' - see below - is this what you mean?

it's something i've always set on a new windows install for a long time now, but i've always wondered about the difference between TEMP and TMP.
Theres no difference.
But it does mean you can have two temp locations (or as many as you want, for that matter), and its easy to recognise it as TEMP and TMP.

Also, following Mickey's guide, you can use the command prompt (start > run > cmd.exe)

1.) type: set
This will list all your environment variables and values.

2.) type: set temp
This will list just the temp variable and value.

3.) type: set temp "C:\temp"
This will SET the temp variable to C:\temp

Of course, you can replace temp with whatever variable in particular you're after, and set the variable to whatever you want.

Its probably best to use Mickey's way, as you can append (or prepend) values.
My way will replace it, which wouldn't be good if you wanted to add an extra location to PATH.
My System SpecsSystem Spec
.


04 Nov 2010   #4

Windows 7 Enterprise
 
 

Thanks guys. I'm aware of HOW to change variables on a system. In fact, I would likely use Group Policy Preferences to set these if I need to. the question I'm really asking is the impact of the location and what kind affect the new location will have to my scripts. We have many many scripts and have used a global temp location in the past rather than a per user temp location. I guess I'll just have to start testing .. .
My System SpecsSystem Spec
04 Nov 2010   #5

Windows 7 Enterprise
 
 

Oh of course.
In that case, the only implication is that the directory will need read write access for all users.
My System SpecsSystem Spec
05 Nov 2010   #6

Windows 7 Enterprise
 
 

Good point. thanks
My System SpecsSystem Spec
Reply

 temp directory




Thread Tools



Similar help and support threads for2: temp directory
Thread Forum
Solved Cannot change directory (CD) to a directory with space in the name General Discussion
File directory: Many directory bear the same name after hd replacement Performance & Maintenance
Effects of moving TMP/TEMP directory & disable Pagefile on boot drive Performance & Maintenance
Help system temp high and CPU temp low?! Performance & Maintenance
Replace files in multiple directory, from a single directory General Discussion
Solved bios temp / real temp PC Custom Builds and Overclocking
Removing files from "Temp" directory ? Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:29 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33