starting a cmd window that runs multiple actions
15:02 19 May 2024

i want to start a cmd window with the "start" command in a .bat file that runs multiple commands without user input. for example i want to open a cmd window using BATCH that runs the following commands:

tree
timeout /t 5 /nobreak > NUL
stop

is this even possible, if not, is there another way to stop cmd windows when they finish running a command?

i tried using newline replacements but none worked. i also coulnd find anything about this topic online.

batch-file cmd