A windows 2000 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
Terminal Services Temporary Folder Configuration Is Stored in Multiple Registry Locations
Use separate temporary folders for each session
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%).
Note I know people would tend to say that this question is related to SU but I am trying to use the Environment Variables in my program as a temporary store. So that makes it a programming question. Problem is that as TEMP folder is deleted once the user logs of this creates issues causes services to crash. Ok I understand this is not a good solution to use temporary store but we just looking for a short term solution until we come up with something better.