Does %TEMP% and %TMP% referes different locations for computers running Terminal Service

Odpovědět Does %TEMP% and %TMP% referes different locations for computers running Terminal Service

Všechny reakce

  • 25. května 2012 4:03
    Moderátor
     
     Odpovědět

    Hi,

    TMP behaves like TEMP.  TMP and TEMP point to the same folder.

    -TP

  • 25. května 2012 5:25
    Moderátor
     
     Odpovědět

    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

  • 28. května 2012 5:56
     
     
    Thank you