ost
Well-known member
Hello
I need to create a temporary internet file. To do this i use
this method creates a tmp file and then return the path and filename in a string.
The problem is that it return the string like this:
C:\DOCUME~1\WORK\ASPNET\LOCALE~1\Temp\tmp222.tmp
but the real path is
C:\Documents and Settings\WORK\ASPNET\Locale Settings\Temp\tmp222
Any suggestions?
I need to create a temporary internet file. To do this i use
Code:
System.IO.Path.GetTempFileName()
this method creates a tmp file and then return the path and filename in a string.
The problem is that it return the string like this:
C:\DOCUME~1\WORK\ASPNET\LOCALE~1\Temp\tmp222.tmp
but the real path is
C:\Documents and Settings\WORK\ASPNET\Locale Settings\Temp\tmp222
Any suggestions?