title: Command line to create 7z archive of two folders and a file to self-extract to specified location
body: <p>I'm new to 7zip, but what command line do I need to create a self-extracting exe which will extract files to a specific location and run a specific command file.</p>
  
  <p>I need it to be silent, the user just double-clicks the exe and it recreates the folder structure and runs the command and exits.</p>
  
  <p>Source folder structure:</p>
  
  <pre><code>C:\Source\mycmd.bat
  C:\Source\A\lots of files
  C:\Source\B\lots more files
  </code></pre>
  
  <p>Command to create C:\MYEXE.EXE:</p>
  
  <pre><code>7z.exe &lt;WHAT GOES HERE!!!&gt;
  </code></pre>
  
  <p>After running MYEXE.EXE on the target machine, the following file/folder structure is created:</p>
  
  <pre><code>C:\Dest
  C:\Dest\mycmd.bat
  C:\Dest\A\lots of files
  C:\Dest\B\lots more files
  </code></pre>
  
  <p>Then C:\Dest\mycmd.bat is run and exits when complete</p>
  
  <p>All with no user input after double-clicking MYEXE.EXE on the target machine.</p>
  
  <p>Can it be done???</p>