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>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: MENON Jean-Francois [mailto:Jean-Francois.MENON / meteo.fr]</FONT>
<BR><FONT SIZE=2>&gt; Sent: Monday, April 15, 2002 12:32 PM</FONT>
<BR><FONT SIZE=2>&gt; To: ruby-talk / ruby-lang.org</FONT>
<BR><FONT SIZE=2>&gt; Subject: windows newbie question</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; hello,</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; under Unix, I have my (ruby) application under /usr/local/myapp</FONT>
<BR><FONT SIZE=2>&gt; and the user's configuration files under $HOME/.myapp</FONT>
<BR><FONT SIZE=2>&gt; under Windows, suppose I put my application under c:\program files,</FONT>
<BR><FONT SIZE=2>&gt; 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>&gt; </FONT>
<BR><FONT SIZE=2>&gt; jf</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; -- </FONT>
<BR><FONT SIZE=2>&gt;&nbsp; _________________________________ </FONT>
<BR><FONT SIZE=2>&gt; / Do you play go?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \</FONT>
<BR><FONT SIZE=2>&gt; \ <A HREF="http://www.multimania.com/cdlib" TARGET="_blank">http://www.multimania.com/cdlib</A> /</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; --------------------------------- </FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp;&nbsp; ^__^</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \&nbsp; (oo)\_______</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (__)\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )\/\</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ||----w |</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ||&nbsp;&nbsp;&nbsp;&nbsp; ||</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

</BODY>
</HTML>
------_extPart_001_01C1E49E.11355C80--