[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: File.expand_path and ~ on windows

Berger, Daniel

9/22/2003 3:56:00 PM

> -----Original Message-----
> From: Berger, Daniel [mailto:djberge@qwest.com]
> Sent: Friday, September 19, 2003 10:45 AM
> To: ruby-talk@ruby-lang.org
> Subject: Re: File.expand_path and ~ on windows
>
>
> > -----Original Message-----
> > From: Sean O'Dell [mailto:sean@cSePlsoAfMt.com[REMOVE_THE_SPAM]]
> > Sent: Friday, September 19, 2003 10:19 AM
> > To: ruby-talk@ruby-lang.org
> > Subject: Re: File.expand_path and ~ on windows
> >
> >
> > Austin Ziegler wrote:
> >
> > > On Fri, 19 Sep 2003 11:36:28 +0900, Tom Felker wrote:
> > >
> > >>Wouldn't it make more sense to expand it to My Documents
> > (C:\Documents
> > >>and Settings\Username\My Documents on WinXP)? I suppose it
> > would be
> > >>worthwhile to be able to disable it, though.
> > >
> > >
> > > No. ~ has no meaning to Windows shells. There are times
> when I wish
> > > that it
> > > didn't to Unix shells. After all, that's what ${HOME} is for.

I was doing some more research on porting some Perl Win32 modules when I
came across this page:

http://ww...

Roth consulting has several Win32 modules that are NOT on CPAN. One of the
things they also have is a ~home ISAPI filter. You can read about it here:

http://ww.../ISAPI/Home/

Anyway, it's another option to consider.

Regards,

Dan