Keep Command Window open

avatar

Hello, all.

I searched the user manual and the forums, but have not been able to find the answer to this seemingly simple issue.

I am trying to automate some of the more-often-used Dell DRAC command-line (racadm.exe) commands. We have several hundred servers over slow VPN links, and starting / stopping the servers can be a chore. I would really like to create a script for that.

The scripts run fine, but one small issue. I need the window to stay open until I close it. I need to see the results. Currently the tab closes immediately after finishing, and if you aint looking hard you don't get to see it. Is there a way to keep the window open until I want to close it?

Thanks in advance!

All Comments (4)

avatar

Hi,
The workaround would be to invoke cmd /k before your command. This will keep the command line opened.

David Hervieux

avatar

Thank you, David! works great.

avatar

Hello TimoHar,

We have added a combobox to specify the execution mode for the command line. The choices are "Default", which works as it did previously, and "Keep command-line opened", which will does the same thing that adding "cmd /k" does.

The change will be included in an upcoming release.

Regards

Hubert Mireault

avatar

Thank you, gentlemen!