Cmd button

Hello,

Is it possible to create a button that launches Command Prompt with "ping" filled in and a prompt come up with predefined machines i can click on to run the command on?

Many Thanks

Here's a simple example.

  • Create a new button.

  • Set the Function drop-down MS-DOS Batch Function.

  • If needed, click the Advanced button to go into multi-line mode.

Use this as the command:

ping {dlgchooseS|Choose server to ping:|news.bbc.co.uk+www.gpsoft.com.au} pause

Scripting can be used for a more advanced dialog, e.g. if you would like a list rather than a drop-down, for slightly fewer clicks each time. But this two line method is easier than a script and maybe already does what you want.

Thank you Leo, Really appreciate your help