title: How to run Gradle Wrapper on Windows 7?
body: <p>I am trying to follow a tutorial on downloading, installing and running a Groovy app, and the instructions say that I can run the app via:</p>
  
  <pre><code>./gradlew myapp
  </code></pre>
  
  <p>I have installed Gradle on my Windows 7 machine under <code>D:\gradle</code>. If I run <code>gradle -v</code> I get:</p>
  
  <pre><code>------------------------------------------------------------
  Gradle 1.11
  ------------------------------------------------------------
  
  Build time:   2014-02-11 11:34:39 UTC
  Build number: none
  Revision:     a831fa866d46cbee94e61a09af15f9dd95987421
  
  Groovy:       1.8.6
  Ant:          Apache Ant(TM) version 1.9.2 compiled on July 8 2013
  Ivy:          2.2.0
  JVM:          1.7.0_51 (Oracle Corporation 24.51-b03)
  OS:           Windows 7 6.1 amd64
  </code></pre>
  
  <p>So I know its installed correctly. But then when I run:</p>
  
  <pre><code>.\gradlew myapp
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>-bash: ./gradlew: No such file or directory
  </code></pre>
  
  <p>When I run:</p>
  
  <pre><code>gradlew myapp
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>-bash: gradlew: command not found
  </code></pre>
  
  <p>What is going on here?</p>
  
  <p><strong>Update</strong></p>
  
  <p>My directory structure:</p>
  
  <pre><code>D:\
      lazybones\
          0.7\
              lazybones-0.7\
                  lazybones\
                      bin\
                          lazybones.bat
      my-template
  </code></pre>
  
  <p>When I go to my <code>D:\</code> drive and run <code>lazybones/0.7/lazybones-0.7/bin/lazybones.bat installPackageMyTemplate</code> I get:</p>
  
  <pre><code>There is no command 'installPackageMyTemplate'
  </code></pre>