std.path.getName(): Screwy by design?

Jesse Phillips jessekphillips+D at gmail.com
Thu Mar 3 15:03:21 PST 2011


Denis Koroskin Wrote:

> On Fri, 04 Mar 2011 00:10:28 +0300, Jesse Phillips  
> <jessekphillips+D at gmail.com> wrote:
> 
> > Denis Koroskin Wrote:
> >> Double-click? Yes. Running from console? No.
> >>
> >> Didn't believe it until I tried it myself, too.
> >
> > Hmm, I get an error from the MS Javascript interpreter.
> 
> Checked again with .js extension. Works like a charm (Windows 7). Are you  
> sure you running it from console and not using double-click? Start->Run  
> doesn't work either, but launching CMD and typing test.js works.

Oh, I was confused on your original post.

Yes double-click fails, but the console works. Interestingly enough, gvim will open if I change the extension to txt and am using powershell.



More information about the Digitalmars-d mailing list