Batch file query

By Hatrick
Nov 28, 2006
  1. I have the following batch file to enable me to access and read minidumps, but, as the query is about batch files rather than reading minidumps I thought a new thread would be approriate.

    cd "c:\program files\debugging tools for windows"

    windbg -y srv*c:\symbols* -i c:\windows\i386 -z C:\WINDOWSMinidump\mini112706-04.dmp

    It works, but it is necessary to edit the file name for each file I want to view.

    What I would like to do is put a shortcut to the batch file in SendTo so that I could right-click on a dump file and send to the batch. Is there a script symbol which would mean 'this file that I'm clicking on', instead of the actual file name - if you see what I mean? <g>
  2. smore9648

    smore9648 TS Rookie Posts: 697

    At first I thought I knew what you were talking about but at the end you last me.

    Please clarify yourself because I am slow and dumb:)
  3. Jesse_hz

    Jesse_hz TS Maniac Posts: 545

    You replace the last part with a "%1", like in the exampe below.

    notepad "%1"

    - "read.bat foo.txt" opens foo.txt in notepad.
  4. Hatrick

    Hatrick TS Rookie Topic Starter Posts: 90

    Didn't work.
    Msg: Could not find the....PATH.....dump file
    Win32 error 123
    filename, directory or volume label syntax is incorrect.

    But thanks for trying.

Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...