Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Is possible to have alternate TEMP environment variables?

Reply
Thread Tools Display Modes

Is possible to have alternate TEMP environment variables?

 
 
Juan I. Cahis
Guest
Posts: n/a

 
      08-31-2007
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!
 
Reply With Quote
 
 
 
 
Synapse Syndrome
Guest
Posts: n/a

 
      08-31-2007
"Juan I. Cahis" <> wrote in message
news:...
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.


 
Reply With Quote
 
DanS
Guest
Posts: n/a

 
      08-31-2007
Juan I. Cahis <> wrote in
news::

> 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.
 
Reply With Quote
 
Juan I. Cahis
Guest
Posts: n/a

 
      08-31-2007
Well, my idea was to move both!!!!!!!!!!

"Synapse Syndrome" <> wrote:

>"Juan I. Cahis" <> wrote in message
>news:.. .
>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!
 
Reply With Quote
 
Synapse Syndrome
Guest
Posts: n/a

 
      08-31-2007
"DanS" <> wrote in message
news:Xns999CD210A8D83thisnthatadelphianet@216.196. 97.142...
>> 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.


 
Reply With Quote
 
Synapse Syndrome
Guest
Posts: n/a

 
      08-31-2007
"Synapse Syndrome" <> wrote in message
news:%...
> 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.


 
Reply With Quote
 
Jay Somerset
Guest
Posts: n/a

 
      09-01-2007
On Fri, 31 Aug 2007 01:20:13 +0100, "Synapse Syndrome"
<> wrote:

>"Juan I. Cahis" <> wrote in message
>news:.. .
>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)
 
Reply With Quote
 
Synapse Syndrome
Guest
Posts: n/a

 
      09-01-2007
"Jay Somerset" <jay-1941-@hotmail.com> wrote in message
news:...
>>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.


 
Reply With Quote
 
Juan I. Cahis
Guest
Posts: n/a

 
      09-01-2007
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 <> wrote:

>Juan I. Cahis <> wrote in
>news: :
>
>> 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!
 
Reply With Quote
 
DanS
Guest
Posts: n/a

 
      09-01-2007
Juan I. Cahis <> wrote in
news::

> 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.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting environment variables? Chaz Windows Vista Administration 3 01-18-2009 02:52 AM
Setting java class variables mmiked8162 Windows Vista General Discussion 2 03-27-2008 03:25 PM
Vista system-path variables dave0003 Windows Vista Administration 1 11-08-2007 02:47 AM
Environment Variables Arne Windows Vista Installation 5 05-25-2007 03:06 PM
Setting environment variables Call me Bill Windows Vista General Discussion 2 09-07-2006 08:54 PM



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 47 48 49 50 51 52 53 54 55 56 57 58 59