associatiion for dmp files

  • Thread starter Thread starter George Hester
  • Start date Start date
G

George Hester

How in Windows 2000 SP4. I want to associate dump files (.dmp) to
windbg.exe but it doesn't work. Please try your suggestion if youi have
one. The error I am getting is that "%1 is not a valid Win32 application
which is obvious because Windows 2000 SP4 is not reading:

"C:\path\windbg.exe" %1 correctly
 
Also try;
"C:\path\windbg.exe" "%1"

What happens if you; while in Explorer, right click on a file of the type in
question, then choose "Open With", "Choose Program", then choose and check
the box for "Always use this program....."

Right now
assoc .dmp
returns with
..dmp=VisualStudio.dmp.7.1
and
ftype VisualStudio.dmp.7.1
returns with
VisualStudio.dmp.7.1="D:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE\devenv.exe" "%1"

But I don't have any dumps laying around to see what I get.
 
So that works for you Dave? Not here. What I am hoping to achieve is
setting .dmp files to open using windbg by double-clicking the dmp in
Windows Explorer..

--
George Hester
__________________________________
Dave Patrick said:
Also try;
"C:\path\windbg.exe" "%1"

What happens if you; while in Explorer, right click on a file of the type in
question, then choose "Open With", "Choose Program", then choose and check
the box for "Always use this program....."

Right now
assoc .dmp
returns with
.dmp=VisualStudio.dmp.7.1
and
ftype VisualStudio.dmp.7.1
returns with
VisualStudio.dmp.7.1="D:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE\devenv.exe" "%1"

But I don't have any dumps laying around to see what I get.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

George Hester said:
How in Windows 2000 SP4. I want to associate dump files (.dmp) to
windbg.exe but it doesn't work. Please try your suggestion if youi have
one. The error I am getting is that "%1 is not a valid Win32 application
which is obvious because Windows 2000 SP4 is not reading:

"C:\path\windbg.exe" %1 correctly
 
I don't think you can because of the required z switch. How about a shortcut
with a "Target" of;
"E:\Program Files\Debugging Tools for Windows\windbg.exe" -z
%windir%\memory.dmp

Which does work for me.
 
Actually this did work.

assoc .dmp=DMP_auto_file
ftype dmp_auto_file="E:\Program Files\Debugging Tools for
Windows\windbg.exe" -z %1
 
Back
Top