From: Christophe Broult Date: 2002-04-16T01:53:33+09:00 Subject: RE: windows newbie question 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. ------_=_NextPart_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: 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. Christophe > > jf > > > -- > _________________________________ > / Do you play go? \ > \ http://www.multimania.com/cdlib / > --------------------------------- > \ ^__^ > \ (oo)\_______ > (__)\ )\/\ > ||----w | > || || > ------_=_NextPart_001_01C1E49E.11355C80 Content-Type: text/html Content-Transfer-Encoding: quoted-printable RE: windows newbie question

> -----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:

USERPROFILE=3DC:\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.

Christophe


>
> jf
>
>
> --
>  _________________________________
> / Do you play = go?           &nb= sp; \
> \ http://www.multimania.com/cdlib /
>  ---------------------------------
>         = \   ^__^
>          = \  (oo)\_______
>          = ;   (__)\       )\/\
>          = ;       ||----w |
>          = ;       ||     = ||
>

------_=_NextPart_001_01C1E49E.11355C80--