Home All Groups Group Topic Archive Search About

Opening a Run.js routine

Author
28 Oct 2007 8:58 PM
dc
I've tried to find a simple solution, but can't get it to work.

To write a script to run a simple routine, a traceroute, /whois, etc.
Say a simple traceroute from run... would be
cmd /k cd\ | tracert google.com

A simple Runbox command
(new ActiveXObject("Shell.Application")).FileRun() yields a run... popup,
but I just wanted to create a shortcut to run the traceroute.

Sorry for the off topic.

dc

Author
28 Oct 2007 9:40 PM
Pegasus (MVP)
Show quote Hide quote
"dc" <sh***@will.now> wrote in message
news:4724f7c3$0$14875$bbae4d71@news.suddenlink.net...
> I've tried to find a simple solution, but can't get it to work.
>
> To write a script to run a simple routine, a traceroute, /whois, etc.
> Say a simple traceroute from run... would be
> cmd /k cd\ | tracert google.com
>
> A simple Runbox command
> (new ActiveXObject("Shell.Application")).FileRun() yields a run... popup,
> but I just wanted to create a shortcut to run the traceroute.
>
> Sorry for the off topic.
>
> dc
>

How about just "tracert google.com"?
There is no need for an extra command processor,
and the CD command defies the purpose of tracert.exe.
Author
28 Oct 2007 10:50 PM
dc
thank you sir,

dc


Show quoteHide quote
"Pegasus (MVP)" <I.***@fly.com> wrote in message
news:OOzeusaGIHA.280@TK2MSFTNGP03.phx.gbl...
>
> "dc" <sh***@will.now> wrote in message
> news:4724f7c3$0$14875$bbae4d71@news.suddenlink.net...
> > I've tried to find a simple solution, but can't get it to work.
> >
> > To write a script to run a simple routine, a traceroute, /whois, etc.
> > Say a simple traceroute from run... would be
> > cmd /k cd\ | tracert google.com
> >
> > A simple Runbox command
> > (new ActiveXObject("Shell.Application")).FileRun() yields a run...
popup,
> > but I just wanted to create a shortcut to run the traceroute.
> >
> > Sorry for the off topic.
> >
> > dc
> >
>
> How about just "tracert google.com"?
> There is no need for an extra command processor,
> and the CD command defies the purpose of tracert.exe.
>
>