title: file not specified
body: <p>Here is my code:</p>
  
  <pre><code>if (system("C:\WINDOWS\System32\netsh.exe interface ip set address name="Net" static 169.254.216.78 255.255.255.252 none &gt;nul"))
  {
    printf("Error is %d.\n", GetLastError());
  }
  </code></pre>
  
  <p>In my case error is <code>2</code>. I've read about <a href="https://stackoverflow.com/questions/8166840/got-the-system-cannot-find-the-file-specified-when-i-run-netsh-from-createproc">this</a> article which said that error may indicate DLL required by the executable is not available. But it didn't say how can I find exact DLL. It only specified that process explorer could be used for that, but didn't mention instructions how to do it. I searched for a while and could not find anything that would help me. Could you please tell me how to debug and find the exact DLL which is not loaded? Thanks in advance.</p>