I'm trying to make a script for me that activates a virtual environment, install requirements and start a Python server.
My script looks like this:
@echo off cmd /k "cd /d C:\Users\evaknid\venv\Scripts & activate & pip install -r reqs.txt" @echo off cmd /k "cd /d C:\Users\evaknid\rm_analytics\developer-management-tool & python manage.py runserver" My problem is that the script only runs the first part each time and don't go to the other one which would start the server.
What mistake have I made?
I run this on a windows 7 machine and use the cmd to run the script if it helps.