Guest dc Posted October 28, 2007 Posted October 28, 2007 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
Guest Pegasus \(MVP\) Posted October 28, 2007 Posted October 28, 2007 Re: Opening a Run.js routine "dc" <short@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.
Guest dc Posted October 28, 2007 Posted October 28, 2007 Re: Opening a Run.js routine thank you sir, dc "Pegasus (MVP)" <I.can@fly.com> wrote in message news:OOzeusaGIHA.280@TK2MSFTNGP03.phx.gbl... > > "dc" <short@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. > >
Recommended Posts