I Just woke up so forgive me if this is babble..
Just curious why this function/API call returns a short file name under Win2k.
No big deal, it works, just curious more than anything.
It returns something like
C:\DOCUME~1\TNGBBS~1.TNG\LOCALS~1\Temp\
Where as it would normally be something like:
C:\Documents and Settings\Tngbbs.tng\local settings\temp
------------------
Scott
mailto:[email protected][email protected]</A>
Just curious why this function/API call returns a short file name under Win2k.
No big deal, it works, just curious more than anything.
It returns something like
C:\DOCUME~1\TNGBBS~1.TNG\LOCALS~1\Temp\
Where as it would normally be something like:
C:\Documents and Settings\Tngbbs.tng\local settings\temp
Code:
Function GetWindowsTempDir()Export As String 'SPT 1/22/01 Local lResult As Long Local buff As Asciiz * 255 lResult = GetTempPath(ByVal SizeOf(buff), Buff) Function = Trim$(buff) End Function
Scott
mailto:[email protected][email protected]</A>
Comment