Macro buttons
Top  Previous  Next


Use the command prompt macro buttons to quickly run one or many commands on a remote machine.



·There are three visible buttons and seven hidden buttons (4, 5, 6, 7, 8, 9 & 0).  
·To use the buttons; click a button or press Alt+number.  

How to redefine a button

·Press Ctrl+Shift + click one of the buttons to open the options dialog.  

Definition syntax

[switch=option§]command§

·Notice that each switch / command must end with a "§" character.  

Switches [optional]
      
Switch
Description
m
name of machine to carry out command on, default = currently selected machine

use %local% for local machine name
t
timeout setting, default=current setting in timeout box
e
execute (y/n), default=y

set to "n" to finish a line manually


Example

machine = "edu8", timeout = 60, command = "net send", wait for user input + return

In the options dialog enter "m=edu8§t=60§e=n§net send §" on the row of button 2:



To use the button: click button 2 (or press Alt+2) for "net send ", finish the row by typing "administrator hello" and press return.