Archive: GetTempFileName mangles path


GetTempFileName mangles path
Hi.
I'm using GetTempFileName to store a DL-ed file to
be decrypted.
The command line decrypter I am using does not like the following path returned by GetTempFileName:

C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nsk601.tmp

Is there a way to force a correct path, not this mangled version?
Thx.
BB


that is a correct path, your program is broken.

To get the long path version, see "4.9.3.9 GetFullPathName" in the helpfile.


Thx, Anders.
I'll try that.