From: Tom Felker Date: 2003-09-19T11:36:28+09:00 Subject: Re: File.expand_path and ~ on windows On Thu, 18 Sep 2003 17:16:00 +0100, Alan Davies wrote: > From the pickaxe book... > > > File.expand_path( fileName [, aDirString ] ) -> fileName > > > The given pathname may start with a ``~'', which expands to the > > process owner's home directory (the environment variable HOME must be > > set correctly). "~ user" expands to the named user's home directory" > > This isn't relevant on windows. Thus: Wouldn't it make more sense to expand it to My Documents (C:\Documents and Settings\Username\My Documents on WinXP)? I suppose it would be worthwhile to be able to disable it, though. -- Tom Felker, - Stop fiddling with the volume knob. You both prefer a universe in which the other party hasn't magically disappeared. I think we have a framework for peace.