Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Running a .JS file via the Cmd Prompt/Run Prompt...

431 views
Skip to first unread message

BeanoGuy

unread,
Aug 23, 2004, 3:36:47 PM8/23/04
to
Hi,

I'd like to know what is behind the actions of "Open with Command
Prompt" in Windows 2003 Server.

I have a file.js, that creates a file directory. In Windows 2000, if I
double-click file.js it will create the folder structure.
In Windows 2003 server, if I double-click, it will only open up the
file in Notepad. However, if I right-click and select "Open with
Command Prompt", it will execute the code correctly and create the
folder.

If I drag the file into the Start|Run... it'll open the file in
NotePad.

What I am asking for is if anybody knows, what is the difference is
when right-click "Open with Command Prompt". What is the call behind
the scenes. I'd like to try to manually generate that path.

Thanks,
W

0 new messages