title: How to run command line in c
body: <p>Im trying to create a snapshot of the WebCacheV01.dat database for dumping MEdge history. 
  I use this command for that:</p>
  
  <pre><code>esentutl.exe /y /vss C:\Users\&lt;username&gt;\AppData\Local\Microsoft\Windows\WebCache\WebCacheV01.dat /d C:\Users\&lt;username&gt;\AppData\Local\Temp\ESEDatabase\WebCacheV01_Copy.dat
  </code></pre>
  
  <p>It run very well on cmd with admin privileges. But now i want to run the command in my code, i call system() and pass the command in but nothing happend. I also try:</p>
  
  <pre><code>ShellExecuteA(0, "runas", "cmd", "/c esentutl.exe /y /vss C:\\Users\\&lt;username&gt;\\AppData\\Local\\Microsoft\\Windows\\WebCache\\WebCacheV01.dat /d C:\\Users\\&lt;username&gt;\\Desktop\WebCacheV01_Copy.dat", 0, SW_MAXIMIZE);
  </code></pre>
  
  <p>But still nothing. I try to run my code as admin but still nothing.</p>