Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Is possible to have alternate TEMP environment variables?

Reply
 
Old 08-30-2007   #1 (permalink)
Juan I. Cahis


 
 

Is possible to have alternate TEMP environment variables?

Dear friends:

My notebook is short of disk space, it has only 8 GB free, and I
cannot upgrade its hard disk because it uses a proprietary 1.8" kind
of disk (It is a Lenovo Thinkpad X-41 Tablet).

But most of the time, I use it docked with a docking station in my
office, where I have a second 100 GB 2.5" hard disk almost free (Disk
"R:").

How can I set the TEMP environment variable in a way that the computer
will use the "R:\TEMP" folder when it is docked, and it will turn
automatically to the "C:\WINDOWS\TEMP" folder when it is undocked?


Thanks
Juan I. Cahis
Santiago de Chile (South America)
Note: Please forgive me for my bad English, I am trying to improve it!

My System SpecsSystem Spec
Old 08-30-2007   #2 (permalink)
Synapse Syndrome


 
 

Re: Is possible to have alternate TEMP environment variables?

"Juan I. Cahis" <jiclbchSINBASURA@xxxxxx> wrote in message
news:v0med3lgmu8kbu7v2av755uiie8mnl3vai@xxxxxx
My notebook is short of disk space, it has only 8 GB free, and I
cannot upgrade its hard disk because it uses a proprietary 1.8" kind
of disk (It is a Lenovo Thinkpad X-41 Tablet).

But most of the time, I use it docked with a docking station in my
office, where I have a second 100 GB 2.5" hard disk almost free (Disk
"R:").

How can I set the TEMP environment variable in a way that the computer
will use the "R:\TEMP" folder when it is docked, and it will turn
automatically to the "C:\WINDOWS\TEMP" folder when it is undocked?
-------------------------------------------------------------------------

This is an interesting question, but I don't think this was even easily
possible in XP, where we have Hardware Profiles.

While I do not know the answer, I was wondering why you want to move
C:\WINDOWS\TEMP, as it hardly ever gets used form my experience. If you
wanted to do this, it would make more sense to use your current user temp
folder, which uses the %TEMP% variable. If you type %TEMP% in the address
bar you will get there and see that it is much more heavily used.

ss.


My System SpecsSystem Spec
Old 08-30-2007   #3 (permalink)
DanS


 
 

Re: Is possible to have alternate TEMP environment variables?

Juan I. Cahis <jiclbchSINBASURA@xxxxxx> wrote in
news:v0med3lgmu8kbu7v2av755uiie8mnl3vai@xxxxxx:
Quote:

> Dear friends:
>
> My notebook is short of disk space, it has only 8 GB free, and I
> cannot upgrade its hard disk because it uses a proprietary 1.8" kind
> of disk (It is a Lenovo Thinkpad X-41 Tablet).
Not proprietary, just not common, yet.

http://castle.pricewatch.com/s/searc...8&Page=2&i=101
&c=Notebook+Drives&srt=t&view=&his=0&paging=1&mpi=&mpc=&sci=101

$150 for an 80 Gig.
My System SpecsSystem Spec
Old 08-30-2007   #4 (permalink)
Juan I. Cahis


 
 

Re: Is possible to have alternate TEMP environment variables?

Well, my idea was to move both!!!!!!!!!!

"Synapse Syndrome" <synapse@xxxxxx> wrote:
Quote:

>"Juan I. Cahis" <jiclbchSINBASURA@xxxxxx> wrote in message
>news:v0med3lgmu8kbu7v2av755uiie8mnl3vai@xxxxxx
>My notebook is short of disk space, it has only 8 GB free, and I
>cannot upgrade its hard disk because it uses a proprietary 1.8" kind
>of disk (It is a Lenovo Thinkpad X-41 Tablet).
>
>But most of the time, I use it docked with a docking station in my
>office, where I have a second 100 GB 2.5" hard disk almost free (Disk
>"R:").
>
>How can I set the TEMP environment variable in a way that the computer
>will use the "R:\TEMP" folder when it is docked, and it will turn
>automatically to the "C:\WINDOWS\TEMP" folder when it is undocked?
>-------------------------------------------------------------------------
>
>This is an interesting question, but I don't think this was even easily
>possible in XP, where we have Hardware Profiles.
>
>While I do not know the answer, I was wondering why you want to move
>C:\WINDOWS\TEMP, as it hardly ever gets used form my experience. If you
>wanted to do this, it would make more sense to use your current user temp
>folder, which uses the %TEMP% variable. If you type %TEMP% in the address
>bar you will get there and see that it is much more heavily used.
>
>ss.
>
Thanks
Juan I. Cahis
Santiago de Chile (South America)
Note: Please forgive me for my bad English, I am trying to improve it!
My System SpecsSystem Spec
Old 08-30-2007   #5 (permalink)
Synapse Syndrome


 
 

Re: Is possible to have alternate TEMP environment variables?

"DanS" <t.h.i.s.n.t.h.a.t@xxxxxx> wrote in message
news:Xns999CD210A8D83thisnthatadelphianet@xxxxxx
Quote:
Quote:

>> My notebook is short of disk space, it has only 8 GB free, and I
>> cannot upgrade its hard disk because it uses a proprietary 1.8" kind
>> of disk (It is a Lenovo Thinkpad X-41 Tablet).
>
> Not proprietary, just not common, yet.
>
> http://castle.pricewatch.com/s/searc...8&Page=2&i=101
> &c=Notebook+Drives&srt=t&view=&his=0&paging=1&mpi=&mpc=&sci=101
>
> $150 for an 80 Gig.

While those are 1.8" hard drives, you have to be careful when buying parts
for Thinkpads. This has been the case for buying PCIe wi-fi network cards
and hard drives especially: I had to use a patch to alter the CMOS settings
in the BIOS for my non-IBM original equipment wi-fi network card could work
in my Thinkpad X31, and I have heard of people having problems buying
certain 1.8" HDDs for X4x series Thinkpads.

For more information you can go to the forums at www.thinkpads.com

ss.


My System SpecsSystem Spec
Old 08-30-2007   #6 (permalink)
Synapse Syndrome


 
 

Re: Is possible to have alternate TEMP environment variables?

"Synapse Syndrome" <synapse@xxxxxx> wrote in message
news:%23Pd2Vj26HHA.980@xxxxxx
Quote:

> While those are 1.8" hard drives, you have to be careful when buying parts
> for Thinkpads. This has been the case for buying PCIe wi-fi network cards
> and hard drives especially: I had to use a patch to alter the CMOS
> settings in the BIOS for my non-IBM original equipment wi-fi network card
> could work in my Thinkpad X31, and I have heard of people having problems
> buying certain 1.8" HDDs for X4x series Thinkpads.
>
> For more information you can go to the forums at www.thinkpads.com

For clarity - the network card for the laptop I mentioned was an internal
mini-PCI card.

ss.


My System SpecsSystem Spec
Old 08-31-2007   #7 (permalink)
Jay Somerset


 
 

Re: Is possible to have alternate TEMP environment variables?

On Fri, 31 Aug 2007 01:20:13 +0100, "Synapse Syndrome"
<synapse@xxxxxx> wrote:
Quote:

>"Juan I. Cahis" <jiclbchSINBASURA@xxxxxx> wrote in message
>news:v0med3lgmu8kbu7v2av755uiie8mnl3vai@xxxxxx
>My notebook is short of disk space, it has only 8 GB free, and I
>cannot upgrade its hard disk because it uses a proprietary 1.8" kind
>of disk (It is a Lenovo Thinkpad X-41 Tablet).
>
>But most of the time, I use it docked with a docking station in my
>office, where I have a second 100 GB 2.5" hard disk almost free (Disk
>"R:").
>
>How can I set the TEMP environment variable in a way that the computer
>will use the "R:\TEMP" folder when it is docked, and it will turn
>automatically to the "C:\WINDOWS\TEMP" folder when it is undocked?
>-------------------------------------------------------------------------
>This is an interesting question, but I don't think this was even easily
>possible in XP, where we have Hardware Profiles.
>
>While I do not know the answer, I was wondering why you want to move
>C:\WINDOWS\TEMP, as it hardly ever gets used form my experience. If you
>wanted to do this, it would make more sense to use your current user temp
>folder, which uses the %TEMP% variable. If you type %TEMP% in the address
>bar you will get there and see that it is much more heavily used.
>
>ss.
>
Of course it is possible -- has been since at least Win2K.

Go to Control panel : Advanced System Settings : Advanced tab :
Environment variables, and redefine TEMP and TMP.
--
Jay (remove dashes for legal email address)
My System SpecsSystem Spec
Old 08-31-2007   #8 (permalink)
Synapse Syndrome


 
 

Re: Is possible to have alternate TEMP environment variables?

"Jay Somerset" <jay-1941-@xxxxxx> wrote in message
news:r6jhd3t672gn39ch4lhe2trf788ob7ee23@xxxxxx
Quote:
Quote:

>>My notebook is short of disk space, it has only 8 GB free, and I
>>cannot upgrade its hard disk because it uses a proprietary 1.8" kind
>>of disk (It is a Lenovo Thinkpad X-41 Tablet).
>>
>>But most of the time, I use it docked with a docking station in my
>>office, where I have a second 100 GB 2.5" hard disk almost free (Disk
>>"R:").
>>
>>How can I set the TEMP environment variable in a way that the computer
>>will use the "R:\TEMP" folder when it is docked, and it will turn
>>automatically to the "C:\WINDOWS\TEMP" folder when it is undocked?
>>-------------------------------------------------------------------------
>>This is an interesting question, but I don't think this was even easily
>>possible in XP, where we have Hardware Profiles.
>>
>>While I do not know the answer, I was wondering why you want to move
>>C:\WINDOWS\TEMP, as it hardly ever gets used form my experience. If you
>>wanted to do this, it would make more sense to use your current user temp
>>folder, which uses the %TEMP% variable. If you type %TEMP% in the address
>>bar you will get there and see that it is much more heavily used.
>>
>
> Of course it is possible -- has been since at least Win2K.
>
> Go to Control panel : Advanced System Settings : Advanced tab :
> Environment variables, and redefine TEMP and TMP.
Yes. That is the way to change the location of those variables, but you
misunderstood the original poster's question. He wants to know how to
change it dynamically, or depending on what Hardware Profile (old XP thing)
is being used, depending on whether the laptop is docked or not. If he did
that to change the locations, there would be a problem when the laptop is
undocked and the second drive is not available.

ss.


My System SpecsSystem Spec
Old 09-01-2007   #9 (permalink)
Juan I. Cahis


 
 

Re: Is possible to have alternate TEMP environment variables?

Dear Dan, thanks a lot, but I don't see the 80 GB disk there, I see
only several 1.8 hard disks manufactured by Toshiba. These hard disk
have a different electrical and mechanical interface than the hard
disks used by Lenovo, which are only manufactured by Hitachi.

DanS <t.h.i.s.n.t.h.a.t@xxxxxx> wrote:
Quote:

>Juan I. Cahis <jiclbchSINBASURA@xxxxxx> wrote in
>news:v0med3lgmu8kbu7v2av755uiie8mnl3vai@xxxxxx:
>
Quote:

>> Dear friends:
>>
>> My notebook is short of disk space, it has only 8 GB free, and I
>> cannot upgrade its hard disk because it uses a proprietary 1.8" kind
>> of disk (It is a Lenovo Thinkpad X-41 Tablet).
>
>Not proprietary, just not common, yet.
>
>http://castle.pricewatch.com/s/searc...8&Page=2&i=101
>&c=Notebook+Drives&srt=t&view=&his=0&paging=1&mpi=&mpc=&sci=101
>
>$150 for an 80 Gig.
Thanks
Juan I. Cahis
Santiago de Chile (South America)
Note: Please forgive me for my bad English, I am trying to improve it!
My System SpecsSystem Spec
Old 09-01-2007   #10 (permalink)
DanS


 
 

Re: Is possible to have alternate TEMP environment variables?

Juan I. Cahis <jiclbchSINBASURA@xxxxxx> wrote in
news:jhsid3t9k277l1l47ibh7hd25ho1pbsi40@xxxxxx:
Quote:

> Dear Dan, thanks a lot, but I don't see the 80 GB disk there, I see
> only several 1.8 hard disks manufactured by Toshiba. These hard disk
> have a different electrical and mechanical interface than the hard
> disks used by Lenovo, which are only manufactured by Hitachi.
Yes, I didn't realize that these are that specific.

I looked at the forum the other reader suggested and there's a little info
there.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
function to set environment variables PowerShell
Environment Variables Problem: Plssss help! General Discussion
Setting environment variables? Vista account administration
Environment Variables Vista installation & setup
Setting environment variables Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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 34 35 36 37 38 39 40 41 42 43 44 45 46