Opening a Run.js routine

  • Thread starter Thread starter dc
  • Start date Start date
D

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
 
dc said:
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.
 
thank you sir,

dc


Pegasus (MVP) said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top