Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

brouse to minidump file and launch windbg

Status
Not open for further replies.

cbsarge

IS-IT--Management
Jun 20, 2001
219
US
I've got the debugging tools installed and the i386 folder on my c drive but, I can't seem to get this script quite right. It's supposed to prompt you for the .dmp file and then launch windbg.
Code:
Set objDialog = CreateObject("UserAccounts.CommonDialog")
objDialog.Filter = "All Folders|*.dmp"
objDialog.InitialDir = "C:\Windows\Minidump"
intResult = objDialog.ShowOpen
If intResult = 0 Then
    Wscript.Quit
Else
    set WshShell = WScript.CreateObject("WScript.Shell")
	WshShell.Run ("cmd /c c:\program files\debugging tools\windbg -y srv*c:\symbols*[URL unfurl="true"]http://msdl.microsoft.com/download/symbols[/URL] -i c:\windows\i386 -z c:\windows\minidump")& intResult,0,True
End If

Thanks in advance for the help!

[!]The AutoSavers![/!] [2thumbsup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top