From: Dave Burt Date: 2005-02-28T14:39:58+09:00 Subject: Re: win32-dir 0.1.0 "Guillaume Marcais" wrote in message: > Le 26 f�vr. 05, � 02:05, Daniel Berger a �crit : > > To be even more basic, what would be the equivalent of the UNIX > "�/.my_app.rc"? File.join(Dir::APPDATA, "my_app.rc")? Some people use a dotfile: File.join(Dir::PROFILE, ".irbrc") Some people use a dotfile directory: d = File.join(Dir::PROFILE, ".mysqlcc") [File.join(d, 'mysqlcc.cfg'), File.join(d, 'history'), ...] IMO, this is better: d = File.join(Dir::APPDATA, "Application Name") Or even: d = File.join(Dir::APPDATA, "Vendor Name", "Application Name") Cheers, Dave