In Windows 7, there is a system folder where all temporary files are stored, such as temporary internet files, installation files, temporary Windows files, and temporary files of programs installed on the system. If you want to change the location of this folder for easier access, follow this simple procedure.
Steps

Step 1. Create a system restore point

Step 2. Access the Start menu

Step 3. Search using the keywords "Environment Variables"

Step 4. Select the item "Change environment variables for the account"

Step 5. Create a new folder called "Temp" in the new location where you want it to be stored

Step 6. Select the "Temp" system variable and press the "edit" button
..".

Step 7. Enter the new value to be assigned to the variable (the path to the new folder created, for example "C:
Temp ), then press the OK button.

Step 8. Select the "TMP" variable and assign the same value you assigned to the "Temp" variable

Step 9. When finished, press the OK button and restart your computer

Step 10. Check that the new changes have been applied correctly
To do this, open the Start menu and type "% Temp%" (without quotes) in the search field.

Step 11. Open the "Temp" folder that appeared in the search results

Step 12. Check the path of the folder in question in the address bar
Advice
- Making the changes described in this procedure alone is not enough (although it should), you will also need to change the TMP and TEMP System Variables.
- You will also need to access the "Environment Variables" window from the "Advanced" tab of the System Properties window (accessible by selecting the "Computer" icon with the right mouse button).
Warnings
- To perform this procedure you will need to log in to the system as an administrator.
- Always create a restore point. If not, you may regret your decision. If after rebooting the system, for whatever reason, you are no longer able to log in or you receive the error message "Interactive logon process failed", using the created restore point will be your only hope of solving the problem. problem.
- Do not install any programs after making this change without first rebooting the system.
- Before making this change, it is best to close all running programs and terminate all related processes.
- If you wish, you can rename the system "Temp" folder to a different name. However, this is not recommended as most applications store temporary files within the "Temp" folder and not within the% Temp% folder.