That_User
That_User

Reputation: 929

CMD instead of running command just opens it

OS Win7, GAE 1.7.6, Python 2.7.3

Working on Google app engine project with 2 other people, project leader gave us sample data via sampleData.cmd to run it inside.

nameOfTheApp\main>sampleData

On other 2 computer this command starts to download files, on my just returns.

appcfg.py upload_data --config_file=bulkloader.yam...etc

In other words it just pop up in my text editor, and in CMD, but it doesn't run it. How to force this command to run?

EDIT: Open sampleData.cmd with editor and c/p content in CMD

python appcfg.py upload_data --config_file=bulkloader.yam...etc

It returns python:can't open file 'appcfg.py' [Errno 2] No such file or directory

ANSWER:

Problem was that I associated .py files with my text editor, when changed to python.exe, it works...

Upvotes: 1

Views: 609

Answers (1)

That_User
That_User

Reputation: 929

Problem was that I associated .py files with my text editor, when i changed it to .exe, it works...

Upvotes: 3

Related Questions