From: Phil Date: 2007-09-15T13:53:05+09:00 Subject: Re: Cross-platform Home Directory? > -----Original Message----- > From: Clifford Heath [mailto:no@spam.please.net] > Sent: Saturday, September 15, 2007 6:25 AM > To: ruby-talk ML > Subject: Re: Cross-platform Home Directory? > Everyone's helped you with ways to find the home directory, but on > Windows this is not normally the right place to store session data. > That's what Application Data is for. Make a directory under there for your > application. Configuration data (user-modifiable but less frequently-changing) > may be stored in the registry. ENV["APPDATA"] produces the Application Data directory. Best to use that: >> ENV["APPDATA"] => "C:\\Users\\CynicalRyan\\AppData\\Roaming" >> exit Since it is in a different location from Windows XP in Vista (the above path is a Vista path). > The Windows certification documents describe where you should put > stuff. Are these available on MSDN? -- Phillip Gawlowski