Charles Greathouse on Fri, 19 Oct 2012 16:00:32 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: temporary files under win32


With stdlib, you can just run

getenv("tmp")

Charles Greathouse
Analyst/Programmer
Case Western Reserve University

On Fri, Oct 19, 2012 at 9:41 AM, Bill Allombert
<Bill.Allombert@math.u-bordeaux1.fr> wrote:
> On Fri, Oct 19, 2012 at 09:10:52AM -0400, Charles Greathouse wrote:
>> I have had problems with MPQS temp files on Windows, but only with
>> very large factorizations. I try to do the large ones on Linux (or,
>> better, with yafu).
>>
>> > There are some... c:\temp, c:\windows\temp are frequently present...
>>
>> The system variable %tmp% has the correct location. For me it is
>>
>> C:\Users\owner\AppData\Local\Temp
>>
>> on my work machine -- not something you would have guessed.
>
> Do you know the correct procedure to retrieve the value of %tmp%  (in C)?
>
> Cheers,
> Bill.