This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_ extPart_001_01C1E49E.11355C80 Content-Type: text/plain > -----Original Message----- > From: MENON Jean-Francois [mailto:Jean-Francois.MENON / meteo.fr] > Sent: Monday, April 15, 2002 12:32 PM > To: ruby-talk / ruby-lang.org > Subject: windows newbie question > > > hello, > > 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: USERPROFILEWINNT\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. Christophe > > jf > > > -- > _________________________________ > / Do you play go? \ > \ http://www.multimania.com/cdlib / > --------------------------------- > \ ^__^ > \ (oo)\_______ > (__)\ )\/\ > ||----w | > || || > ------_ extPart_001_01C1E49E.11355C80 Content-Type: text/html Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> <TITLE>RE: windows newbie question</TITLE> </HEAD> <BODY> <P><FONT SIZE=2>> -----Original Message-----</FONT> <BR><FONT SIZE=2>> From: MENON Jean-Francois [mailto:Jean-Francois.MENON / meteo.fr]</FONT> <BR><FONT SIZE=2>> Sent: Monday, April 15, 2002 12:32 PM</FONT> <BR><FONT SIZE=2>> To: ruby-talk / ruby-lang.org</FONT> <BR><FONT SIZE=2>> Subject: windows newbie question</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> hello,</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> under Unix, I have my (ruby) application under /usr/local/myapp</FONT> <BR><FONT SIZE=2>> and the user's configuration files under $HOME/.myapp</FONT> <BR><FONT SIZE=2>> under Windows, suppose I put my application under c:\program files,</FONT> <BR><FONT SIZE=2>> where should I put user configuration files ?</FONT> </P> <P><FONT SIZE=2>running the set command on my system revealed the following variable:</FONT> </P> <P><FONT SIZE=2>USERPROFILE=C:\WINNT\Profiles\cbroul</FONT> </P> <P><FONT SIZE=2>Maybe you should use that. I do not know if it is available on all Windows</FONT> <BR><FONT SIZE=2>system though. However, I believe that storing the configuration into the</FONT> <BR><FONT SIZE=2>user profile would be a good idea.</FONT> </P> <P><FONT SIZE=2>Christophe</FONT> </P> <BR> <P><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> jf</FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> </FONT> <BR><FONT SIZE=2>> -- </FONT> <BR><FONT SIZE=2>> _________________________________ </FONT> <BR><FONT SIZE=2>> / Do you play go? \</FONT> <BR><FONT SIZE=2>> \ <A HREF="http://www.multimania.com/cdlib" TARGET="_blank">http://www.multimania.com/cdlib</A> /</FONT> <BR><FONT SIZE=2>> --------------------------------- </FONT> <BR><FONT SIZE=2>> \ ^__^</FONT> <BR><FONT SIZE=2>> \ (oo)\_______</FONT> <BR><FONT SIZE=2>> (__)\ )\/\</FONT> <BR><FONT SIZE=2>> ||----w |</FONT> <BR><FONT SIZE=2>> || ||</FONT> <BR><FONT SIZE=2>> </FONT> </P> </BODY> </HTML> ------_ extPart_001_01C1E49E.11355C80--