Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

run a dos command from powershell or dos that will stay in memory and continue (without clicking it manually)

$
0
0

hi all,

i have a bat dos that i usually click on the server desktop but since it keep on crashing i want to automize it.  i tried doing an invoke-expression on powershell but this "mpmserv -debug" won't stop and continue running other processes that i need to run as well, i tried also doing a dos command like putting ampersand "& c:\script\1st.bat" but it still won't continue, it just stop and doesn't continue running other command.

is there a way to automize this?  and not always manually click to run and stay on memory (or dos prompt that stay on desktop process).

thanks for any comment you may add.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>