Peter Nguyen
Peter Nguyen

Reputation: 359

How to prevent command prompt ( windows ) from opening file when typing command?

I download source code of my app from google appengine using this command in cmd:

appcfg.py download_app -A <your_app_id> -V <your_app_version> <output-dir>

But, instead of running the command, it opens the file "appcfg.py". So I don't know what to do now.

Upvotes: 0

Views: 158

Answers (1)

outlyer
outlyer

Reputation: 3943

Sounds like python files are associated with an editor instead of with the python interpreter. If so you'll have to change the associations for .py files (found in folder options), or call the python interpreter:

 C:\path\to\python appcfg.py download_app -A -V

Upvotes: 2

Related Questions