R
Richard Otter
I'm using the call
DWORD GetTempPath(
DWORD nBufferLength,
LPTSTR lpBuffer
);
to get the temp folder on Win2K and XP. The call returns the folder name
using the 8.3 names, yet the value is stored in the System Properties ENV
variables as long file name format.I really don't want to show users a 8.3
file name. I can use the GetLongPathName call to convert, but what if the
user has deactivated the creation of 8.3 file names?Isn't there a way to get
the Temp file name directly in a long file name format?Richard
DWORD GetTempPath(
DWORD nBufferLength,
LPTSTR lpBuffer
);
to get the temp folder on Win2K and XP. The call returns the folder name
using the 8.3 names, yet the value is stored in the System Properties ENV
variables as long file name format.I really don't want to show users a 8.3
file name. I can use the GetLongPathName call to convert, but what if the
user has deactivated the creation of 8.3 file names?Isn't there a way to get
the Temp file name directly in a long file name format?Richard