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

Jesse Phillips jessekphillips+D at gmail.com
Thu Mar 3 13:10:28 PST 2011


Denis Koroskin Wrote:

> > 	No you cannot. What happens is that you *open* them with the
> > default application, which just happens to be an interpreter whose
> > default action is to run the script. Try renaming a .exe into .js
> > and it will not run, whereas on Unix it would.
> >
> > 		Jerome
> 
> 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.


More information about the Digitalmars-d mailing list