and also you can add the following part to your register --------------------------------------------------------- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\GNU] [HKEY_LOCAL_MACHINE\SOFTWARE\GNU\Emacs] "HOME"="D:\\GNU\\Emacs" --------------------------------------------------------- 写入消息新闻:ud5yg8rg8.fsf@gorgeous.org... > "Eli Zaretskii" 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