title: How do merge two EXE files with command prompt/C
body: <p>I've looked all over for a way to merge/bind 2 Windows executables with CMD and found nothing. My issue is I need to use only Windows Vista or above utilities to bind the EXE files. For example</p>
  
  <pre><code>COPY /B EXE1.EXE+EXE2.EXE EXE3.EXE
  </code></pre>
  
  <p>but have the programs start at the same time and this code only starts EXE1. Also, I can't use a BATCH file to do it like this</p>
  
  <pre><code>START EXE1.EXE
  START EXE2.EXE
  </code></pre>
  
  <p>What I'm hoping for is a stub I can embed the CMD code into a C program and then use the C program as a stub (or even better if there is C code to do this) and extract the second program into a temporary directory then execute it.</p>
  
  <p>Any help would be greatly appreciated.</p>