Allan_Fernandes
asked on
Full Path of Windows Temp folder
How to get windows temp folder without truncation of folder name?
All solutions give C:\Docume~1\....
whereas I want it as C:\Documents and Settings\...
All solutions give C:\Docume~1\....
whereas I want it as C:\Documents and Settings\...
Removed the "TCP / IP" Zone, as it has nothing to do with the Q.
rindi,
EE ZA Storage
Or %TEMP% is usually environment variable..
%TEMP% and %TMP% both give windows short names and NOT the full path as requested.
Here is an example of how to do it via VB6. you should be able to adapt the info on using the Kernel32 API's
It will NORMALLY be %USERPROFILE%\Local Settings\Temp
you can do that in a cmd prompt to expand
c:\> ECHO %USERPROFILE%\Local Settings\Temp
you can do that in a cmd prompt to expand
c:\> ECHO %USERPROFILE%\Local Settings\Temp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
HKEY_CURRENT_USER/Environm
It is of type REG_EXPAND_SZ.