title: How to escape quotation marks in WinDbg's startup command line opening a dump
body: <p>Following <a href="https://stackoverflow.com/questions/2655168/how-do-i-make-a-cmdtree-window-dock-at-startup-in-windbg">this answer</a>, I'm trying to set up a <code>.dmp</code> shell command in the Registry using the <code>-c "..."</code> switch to execute commands whenever I open a dump file. </p>
  
  <p>While this works for any commands not using quotation marks, I'd now like to use a command which needs quotation marks. How can I escape the quotation marks to that they are not seen as the end of the <code>-c "..."</code> switch?</p>
  
  <p>I tried:</p>
  
  <ul>
  <li>escaping with a backslash <code>\"</code></li>
  <li>escaping by doubling the quotation marks <code>""</code></li>
  </ul>
  
  <p>Details are :</p>
  
  <p>Registry key: <code>HKEY_CLASSES_ROOT\Windbg.DumpFile.1\shell\WinDbgStartup\command</code></p>
  
  <p>(Default) value (working): <code>"C:\path to\windbg.exe" -z "%1" -Q -c ".echo Welcome"</code></p>
  
  <p>(Default) value (broken): <code>"C:\path to\windbg.exe" -z "%1" -Q -c ".echo Wel""come"</code></p>
  
  <p><code>-z</code> is for opening a dump file, <code>-Q</code> is for quiet workspaces, at <code>-c</code> I can enter commands and I want to include quatation marks.</p>
  
  <p>Error message: <code>The command line arguments cannot specify more than one kind of debugging to start</code></p>
  
  <p>WinDbg Version: <code>6.2.9200.16384 X86</code></p>