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?
@ECHO OFF
start cmd.exe /C "python manage.py runserver && cd D:\D1\ && D:"
start C:\"Program Files (x86)"\Google\Chrome\Application\chrome.exe "http://127.0.0.1:8000/"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With