Michael DeHaan
12/17/2004 5:36:00 PM
"But this doesn't solve the problem because the user should be able to
create and swap configuration files using the default shell."
The shell works. Only Explorer is broken.
c:\> echo foo > .bar
c:\> dir
FYI, .cpan directories work fine from Perl too.
--Michael
On Fri, 17 Dec 2004 17:24:26 +0900, Gavri Savio Fernandez
<gavrif@virtusa.com> wrote:
>
> > From: Pit Capitain [mailto:pit@capitain.de]
> > Subject: Re: Loading configuration files in an OS-agnostic way
>
> > At least on Win 2000, you can't create such a file in the
> > Windows Explorer, but
> > you sure can in Ruby:
> >
> > File.open ".google_key", "w" do |out| out.puts "# config" end
> >
>
> But this doesn't solve the problem because the user should be able to create and swap configuration files using the default shell.
>
> Thanks for the info though. I didn't know that Windows allowed filenames with a period in front.
>
> gavri
>
> ---------------------------------------------------------------------------------------------
> This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.
>
>