title: How do I open a file for edit from the command line under Windows?
body: <p>How do I open a file for <code>edit</code> from the command line under Windows?</p>
  
  <p>Mainly I am looking to open the file in the default editor associated for it (not to be confused with default action for this filetype).</p>
  
  <p>This is different than just "executing" the file, so <code>start filename</code> is not a solution.</p>
  
  <p>Note: this would require to use ShellExecute in one way or another.</p>
  
  <p>Update: I added <code>Python</code> as an alternative to <code>batch</code>.</p>