Start Django project by one clik using BAT file

Viewed 5101

I want the user press one icon (link to BAT file) on the DESKTOP and it starts two processes.

first - start django server

second - crome

file.bat

@ECHO OFF
start cmd.exe "D: && cd D:\D1\ && python manage.py runserver"
start C:\"Program Files (x86)"\Google\Chrome\Application\chrome.exe "http://127.0.0.1:8000/"

where is my mistake? BAT file just start cmd.exe and go to directory D:\D1 and nothing more. The sintax of the second line is correct.

Where is the error?

1 Answers
Related