[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Defining directory ~/ on MS-Windows
From: |
graham |
Subject: |
Re: Defining directory ~/ on MS-Windows |
Date: |
Sun, 14 Nov 2004 13:56:23 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) |
"Eli Zaretskii" <eliz@gnu.org> writes:
>> From: graham@gorgeous.org
>> Date: Sat, 13 Nov 2004 22:34:12 +0000
>>
>> On MS-Windows Emacs understands paths like ~/foo.txt. It converts
>> this to c:\foo.txt. I would like it to convert it to
>> c:\Documents and Settings\My User Name\foo.txt instead, like XEmacs does.
>>
>> How can this be done?
>
> "~" is a short for %HOME%. So, if you define the environment variable
> HOME whose value is "c:\Documents and Settings\Your User Name", you
> will get what you want.
Thanks, this did the trick.
Graham