title: Automating cygwin commands in windows command line (and ultimately in MsBuild)
body: <p>I have a situation where I have a few cygwin commands which I wish to be run in Windows command line e.g.</p>
  
  <pre><code>chmod 777 /home/administrator/*
  </code></pre>
  
  <p>Currently I have to manually type in cygwin.bat, then enter the above command in cygwin.  I was wondering whether it is possible (and if so, how) to have these steps automated in Windows command line?</p>
  
  <p>Ultimately I want all of the above commands to be in MsBuild to achieve full automation if possible.</p>
  
  <p>Thanks.</p>