From: nobu.nokada@... Date: 2002-04-16T19:15:29+09:00 Subject: Re: windows newbie question Hi, At Tue, 16 Apr 2002 01:53:33 +0900, Christophe Broult wrote: > > under Unix, I have my (ruby) application under /usr/local/myapp > > and the user's configuration files under $HOME/.myapp > > under Windows, suppose I put my application under c:\program files, > > where should I put user configuration files ? > > running the set command on my system revealed the following variable: > > USERPROFILE=C:\WINNT\Profiles\cbroul > > Maybe you should use that. I do not know if it is available on all Windows > system though. However, I believe that storing the configuration into the > user profile would be a good idea. Win9x don't set it. How about making File.expand_path("~") under mingw32/mswin32 result "My Document" directory? -- Nobu Nakada