Does %TEMP% and %TMP% referes different locations for computers running Terminal Service
-
24. května 2012 8:03
A windows 2008 R2 computer running Terminal Service creates a temporary folder for each terminal session, and it appends the hexadecimal value to the temporary folder name depicted by the environment variable %TEMP%.
Reference
http://support.microsoft.com/kb/243555
My Question is does %TMP% also behaves in the similar manner as %TEMP% or it refers to a different location (the parent directory of %TEMP%).
http://technet.microsoft.com/en-us/library/cc732258%28v=ws.10%29.aspx
http://technet.microsoft.com/en-us/library/cc759190%28v=ws.10%29.aspx
Všechny reakce
-
25. května 2012 4:03Moderátor
Hi,
TMP behaves like TEMP. TMP and TEMP point to the same folder.
-TP
- Navržen jako odpověď Aiden_CaoMicrosoft Contingent Staff, Moderator 25. května 2012 5:26
- Označen jako odpověď TP []MVP, Moderator 28. května 2012 11:19
-
25. května 2012 5:25Moderátor
Hi,
Thanks for your post.
The TEMP and TMP environment variables are used to designate which folders in the file system (which path) should be used by applications that require a temporary workspace. TEMP is typically used by applications. TMP is typically used by development tools, such as Microsoft Visual C++. By default, computer uses environment variable setting of %Systemroot%\Temp for both TEMP and TMP. For user accounts, the default environment variable for TEMP and TMP is set to %Userprofile%\temp.
Registry entries to determine the value for the TEMP and TMP:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment\TEMP
HKLM\System\CurrentControlSet\Control\Session Manager\Environment\TMP
TMP
http://technet.microsoft.com/en-us/library/cc963143.aspx
Best Regards,
Aiden
Aiden Cao
TechNet Community Support
- Navržen jako odpověď Aiden_CaoMicrosoft Contingent Staff, Moderator 28. května 2012 1:25
- Označen jako odpověď AbhijitBhattacharjee 28. května 2012 5:55
-
28. května 2012 5:56Thank you