[Python] How to run two commands in two separate cmd windows from a batch file? [duplicate]

Discussão em 'Python' iniciado por Stack, Fevereiro 19, 2025.

  1. Stack

    Stack Membro Participativo

    How can I run two separate commands in two separate cmd.exe windows - one after another, from a batch file on Windows 11?

    The first command I have to run in the first cmd window is

    python host.py


    And the second command from another cmd window is

    python fakedns.py -c dns.conf -i 192.168.0.37


    I'm sure it's really easy to do, so please ignore my ignorance.

    Nothing tried yet.

    Continue reading...

Compartilhe esta Página