I have set up a virtualenv and installed django after activating the virtualenv (env). I can see the django-admin.py file in the scripts folder within env. However when i try running
.\scripts\django-admin.py startproject projectname
it opens the file in notepad rather than running the python script.
Where have I gone wrong?