[Lazarus] GetTempDir return impartial path

ABorka fpc-devel at aborka.com
Wed Jun 15 21:33:31 CEST 2011


On 6/15/2011 12:09, silvioprog wrote:
> Oops, the correct title is:
>
> "GetTempDir return a partial path".
>
> 2011/6/15 silvioprog<silvioprog at gmail.com>:
>> Hi.
>>
>> I trying to use the GetTempDir, but I get only partial result, e.g.:
>>
>> \xampp\tmp\
>>
>> Was to be:
>>
>> C:\xampp\tmp\
>>
>> How to I get the complete path of temp dir of server (Apache)?
>>
>> Thx.
>>
>> ps. Sorry for my english. ^^'

It might be that your TEMP or TMP environment variable does not have the 
drive letter.

AB





More information about the Lazarus mailing list