title: Problem with Java Runtime.exec() when trying to start Nmap.exe
body: <p>I'm using Java 1.6 , Eclipse , Windows 7.
  I'm trying to run commands in a java program to use NMAP. </p>
  
  <p>The code :</p>
  
  <p><code>
  String cmd[] = { "cmd.exe", "/c","start notepad.exe"};</p>
  
  <p>Process pr = rt.exec(cmd);
  </code></p>
  
  <p>works fine, but the code:</p>
  
  <p><code>
  String cmd[] = { "cmd.exe", "/c","start nmap.exe"};</p>
  
  <p>Process pr = rt.exec(cmd);
  </code></p>
  
  <p>simply doesn't.</p>
  
  <p>I tried both commands in the command prompt, they both work fine but the latter one fails when I try it with the Runtime.exec(). What would be the problem ?</p>
  
  <p>Thanks, in advance..</p>