The Command Input window allows you to create and edit commands before sending them to the active tab window. This is not limited to entering something at the command prompt; you can feed strings anywhere a console app is expecting input. You can scroll back to previous lines, edit, and reexecute them. The Command Input window also has full undo/redo (up to 31 levels). You can automatically save the contents of the Command Input window when Take Command exits, and reload it when Take Command starts (see Auto Save File).

 

The Command Input window supports syntax coloring for command line input, using the same colors and keywords as the IDE / Batch Debugger.

 

You can detach, move and dock the Command Input window by moving the mouse cursor to the caption bar, and holding the left mouse button down while dragging the window to its new location.

 

You can "AutoHide" the Command Input window by clicking on the "push-pin" in the upper right corner, or selecting it from the drop-down menu. When in AutoHide, the window will be minimized to a single tab, and will automatically expand again when you move the mouse cursor over the tab. You can completely hide the Command Input window by toggling the View / Command Input menu entry.

 

The default directory for the Command Input window (used for filename completion) will be set to the selected directory in the Folders window.

 

You can use the following editing keys when you are entering a command (the words Ctrl and Shift mean to press the Ctrl or Shift key together with the other key named).

 

Cursor Movement Keys:

 

Left

Move the cursor left one character

Right

Move the cursor right one character

Ctrl-Left

Move the cursor left one word

Ctrl-Right

Move the cursor right one word

Home

Move the cursor to the beginning of the command

End

Move the cursor to the end of the command

PgUp

Scroll the Command Input window back one page

PgDn

Scroll the Command Input window forward one page

Insert and Delete Keys:

 

Ins

Toggle between insert and overstrike mode

Del

Delete the character under (or to the right of) the cursor, or the highlighted text

Bksp

Delete the character to the left of the cursor, or the highlighted text

Ctrl-Del or Ctrl-R

Delete the word or partial word to the right of the cursor

Ctrl-Bksp or Ctrl-L

Delete the word or partial word to the left of the cursor

Esc

Delete the entire line

 

Text Selection and Clipboard Cut/Copy/Delete/Paste:

 

Shift-Right

Highlight character right of cursor and move cursor

Shift-Left

Highlight character left of cursor and move cursor

Shift-Home

Highlight from cursor to beginning-of-line and move cursor

Shift-End

Highlight from cursor to end-of-line and move cursor

Ctrl-Shift-Right

Highlight word right of cursor and move cursor

Ctrl-Shift-Left

Highlight word left of cursor and move cursor

Ctrl-A

Select all

Ctrl-C

Copy highlighted text to the clipboard

Ctrl-V

Paste the first line of text from the clipboard at the current cursor position

Ctrl-X

Cut the selected text and copy it to the clipboard

Ctrl-B

Paste the last argument from the previous command line

Ctrl-0 to Ctrl-9

Paste the corresponding argument from the previous command line

 

Execution:

 

Enter

Send the line to the active tab window

Ctrl-Enter

Send the line to the active tab window, but don't insert a CR/LF in the input window

 

Miscellaneous:

 

F1

Get help for the command (first argument on the line)

Ctrl-F1

Get help for the current word

Ctrl-Shift-Z

Undo last action

Ctrl-Shift-Y

Redo last undo

Tab or F7

Pop up the filename / sharename / variable completion window

Ctrl-E

Expand environment variables

Ctrl-.

Toggle between LFN and SFN

Ctrl-P

Print the command input window

Ctrl-Win-T

Create new tab window

 

Mouse Clicks:

 

Single left click

Move text caret

Double left click

Select the current word

Triple left click (or single click in left margin)

Select the current line

Single right click

Context menu

Left click+drag

Drag current selection

 

To highlight text on the command line use the mouse or hold down the Shift key and use any of the cursor movement keys listed above. Once you have selected or highlighted text on the command line, any new text you type will replace the highlighted text. If you press Bksp or Del while there is text highlighted on the command line, the highlighted text will be deleted.

 

The command input window will optionally include aliases in filename / tab completion if the argument being expanded is at the beginning of the command line. See the new Options / Take Command / Windows tab.

 

The command input window will optionally include internal commands in filename / tab completion if the argument being expanded is at the beginning of the command line. See the new Options / Take Command / Windows tab.