I am running windows 7 x64 with python 2.7.6 and I just installed the s3cmd tool following these instructions: s3cmd win7 installation.
The problem is that while I have both the python directory and the python scripts on my path, I can't run s3cmd directly. So, if I fire a cmd and type:
python
- it works!
However if I type
s3cmd
or
python s3cmd
they both fail even though my python scripts directory contains the file s3cmd:
In the case of s3cmd the error is s3cmd is not recognized as external command or executable etc...
(I am translating here because the error is in a non-english locale). In the case of python s3cmd the error is: python: can't open file 's3cmd': [Errno 2] No such file or directory.
Ideally I'd like to run s3cmd from a python script I am writing and not call it directly from cmd, however I would be happy for any kind of input..!
Thanks.
I saw this comment on their site: You can create a batch script to run it by using the %* parameter, example:
Have you tried it out yet?