WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

DOS

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 2000:05:30:10:56:24
Last Updated: 2000:05:30:10:56:24