'gradle' is not recognized internal or external command

I got the same problem… Gradle is working form /bin directory:

Gradle 2.2.1 ------------------------------------------------------------

Build time:

2014-11-24 09:45:35 UTC Build number: none Revision:

6fcb59c06f43a4e6b1bcb401f7686a8601a1fb4a

Groovy:

2.3.6 Ant:

Apache Ant™ version 1.9.3 compiled on December 23 2013 JVM:

1.8.0_25 (Oracle Corporation 25.25-b02) OS:

Windows 8.1 6.3 amd64

but outside the folder I have got message:

‘gradle’ is not recognized as an internal or external command, operable program or batch file.

my enviromental variable is set: name: GRADLE_HOME value: C:\Program Files\Gradle\gradle-2.2.1\bin

Have U got any idea?