title: PSEXEC: not recognising remote command
body: <p>I am able to execute basic operation by triggering batch script on remote location using following command.</p>
  
  <pre><code>psexec -e -h -s -u User -p pass \\10.0.0.240 C:\test.bat
  </code></pre>
  
  <p>But when the test.bat file is calling other program specific script like somepy.py then I am getting error on master batch file that these are not internal command. 
  Master batch file in Host computer:<br>
  <strong><em>CODE</em></strong><br>
     <code>psexec -e -h -s -u user -p pwd \\10.0.0.240 C:\Users\Desktop\TEST\test.bat</code>   </p>
  
  <p>Command inside <code>test.bat</code>located in remote PC:  </p>
  
  <pre><code>cd C:\Users\Desktop\TEST1
  impact -batch test_impact_warp_AP.cmd
  `pause`
  waitfor /t 5 StartNow
  </code></pre>
  
  <p><code>REM wait for 5second</code>
      <code>echo "Run python script for Warp"</code><br>
     <code>cd C:\Users\Desktop</code><br>
     <code>call warp-python.bat</code></p>
  
  <pre><code>ipconfig /all
  ping google.com
  </code></pre>
  
  <p>Command inside <code>warp-python.bat</code> present in remote machine:</p>
  
  <pre><code>set PYTHONPATH=C:\Users\Desktop\Python_Reference 
  cd C:\Users\Desktop\Python_Reference\examples\PYTHON_SCRIPT
  python t_capture.py 
  </code></pre>
  
  <ol>
  <li>When I executed the test.bat script directly then <code>warp-python.bat</code> as well as <code>test_impact_warp_AP.cmd</code> executes perfectly without any error.</li>
  <li><p>But when i try to execute test.bat from remote location then <code>*python*</code> and <code>*impact*</code> commands are not recognised. and gives following error:</p>
  
  <p><em><code>'Impact' is not recognised as an internal or external Command</code></em>
  But <code>ipconfig/all</code> and <code>ping</code> command is executed perfectly in remote PC</p></li>
  <li>What am I missing in the command line argument such that psexec in not able to executed the command in remote location</li>
  </ol>