Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Running Tracert MS-DOS Application

Keywords: 	 Tracert

Question:

I need a script that will run tracert.exe in an MSDOS window without quitting. I found that Windows made setting up a PIF file via using a command.com shortcut to be obscure and not functional.

Answer:

sURL = AskLine("URL","Enter a URL","www.winbatch.com")

RunShell("c:\command.com", "/K c:\windows\tracert.exe %sURL%", "C:\windows\", @NORMAL, @WAIT)

Article ID:   W14454
Filename:   Running Tracert.txt