Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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'm trying to zip up a huge file, but it fails since my C:\ drive doesn't have enough space. How do change it to use another drive?

share|improve this question
Set the %Temp% variable to whatever path you would like to use, e.g. F:/Temp/. – user111228 Jan 9 '12 at 22:11
up vote 5 down vote accepted

As Hesse said, change the Environment Path %Temp% to an alternate location. You can do this by Right-Clicking on My Computer then selecting Properties. If you are using Windows 7 you will have to click on the link "Advanced System Settings" in the pane on the left. Select the Advanced tab. Click on the button named "Environment Variables".

Select %Temp% from the list and edit it with the new location.

All programs that use the Temp directory will now use the new path specified.

share|improve this answer
@john2x Prefer to not put it on a disk that would be removed. Before you think about changing disk/partiton letters, rearranging disks, or having disk problems, rememeber that you change it. the system itself can often cope without it being right, but some programs using it wont. – Psycogeek Jan 10 '12 at 5:30
Thanks. Does this require a reboot? – john2x Jan 10 '12 at 13:01
This worked great, thanks. One extra step I had to do was to log out then log back in for this to work. – user194017 Jan 30 '13 at 15:55
My %TEMP% and %TMP% variables are pointed on a non-boot drive as to take a load off the boot drive. So is my paging file. – user2514583 Dec 2 '14 at 0:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .