Hi,
if you can run it with cmd but not with phpstorm, that's because you didn't specify the correct path in phpstorm, to do so :
- Open settings in phpstorm
- go in "Command line Tool support"
- click on the green "+"
A new windows opens, click on visibility -> "global" (if you don't want to do that for every phalcon projects). The select is by default on Custom tool.
When you clicked OK, you'll have 3 inputs ; the path (for the .bat file in your C:\phalcon-tools).
You fill the others input like you want, for instance you can put "phalcon" for alias.
If i'm not mistaken, you'll have the new entry in the list, press Apply and then OK.
After that you can write phalcon commands in the command line tools console of phpstorm. If it says something like "access refused", you'll have to either move the folder phalcon-tools into another directory where you'll have access OR change the rights on the directory.
I hope i've been useful :)