[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Default temporary directory in Windows/NTEmacs
From: |
Michael Albinus |
Subject: |
Re: Default temporary directory in Windows/NTEmacs |
Date: |
Sun, 09 Dec 2012 20:38:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Andy Sheen <address@hidden> writes:
> Hi Michael,
Hi Andy,
>>
>> Setting %TMPDIR% to a proper value before starting Emacs shall do the job.
>
> It looks like the temporary-file-directory is set using the %TEMP%
> variable if more than one of TEMP, TMPDIR and TMP are set.
> Unfortunately, TEMP is already set to a Windows style path and I can't
> remember what uses it (whether it is a Windows or cygwin program!), so I
> don't really want to change it.
I'm not an expert in MS WIndows. But maybe you could assign a variable
settings for %TEMP% to the runemacs.exe. Or you could write an own
startup script, just for Emacs.
Or you eval in your .emacs
(setenv "TEMP" "/a/proper/value")
All of this guaranteed untested.
> Andy
Best regards, Michael.