rem Example: start a new window to run a commandstartcmd /c "echo poof"
rem Example: start a new window to run a command and pausestartcmd /c "echo poof && pause"
rem Example: start a command without creating a new windowstart /b powershell "sleep 1; echo done"
rem Example: query the currently running processes
tasklist /FI "PID eq 4"