title: Execute Mount commands via psexec window via batch file
body: <p>I have a linux NFS that dissapears everytime windows is rebooted. </p>
  
  <p>I need to run a scheduled task to run on startup that will mount these. </p>
  
  <p>I run the following commands when i do (i have to do this via psexec):</p>
  
  <ol>
  <li>Cd c:\temp</li>
  <li>psexec.exe -i -s cmd.exe</li>
  <li><em>new window</em></li>
  <li>(normally run a whoami to make sure i am set NT AUTHORITY\system</li>
  <li>net use m: /persistent:yes UNIXSERVER01:/vol/vfile01_media/media</li>
  <li>net use m: /persistent:yes UNIXSERVER02:/vol/vfiler02_docs/docs</li>
  </ol>
  
  <p>Thats my normal process, however i am a bit stuck in create a batch script that will run the files from psexec.</p>
  
  <p>Thanks! </p>