ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE. Software > Find And Run Robot

Figured out how to keep the cmd window open, i.e. stop it from closing.


Probably not news to most of you but took me ages to figure out, to run a cmd window without it closing itself use:

--- ---    shellexec cmd.exe /k $$1

because you're running the /k flag on cmd.exe it won't close until cmd.exe "exits" via you closing it. As opposed to running the /k on your application, which for something like ipconfig just instantly closes

This is a good reminder, thanks for the post.


[0] Message Index

Go to full version