Navigate and Edit Within the Command Window
 
 
 

You can edit text in the command window to correct or repeat commands.

Use the standard keys:

You can repeat any command used in the current session by cycling through the commands in the command window with UP ARROW and DOWN ARROW and pressing ENTER. By default, pressing CTRL+C copies highlighted text to the Clipboard. Pressing CTRL+V pastes text from the Clipboard to the text window or the command window.

If you right-click in the command window or text window, a shortcut menu is displayed from which you can access the six most recently used commands, copy selected text or the entire command history, paste text, and access the Options dialog box.

For most commands, a command line with two or three lines of previous prompts, called the command history, is sufficient for viewing and editing. To see more than one line of command history, you can scroll through the history or resize the command window by dragging its border. For commands with text output, such as LIST, you might need a larger command window, or you can press F2 to use the text window.

Use the Text Window

The text window is a window similar to the command window in which you can enter commands and view prompts and messages. The text window displays a complete command history for the current work session. Use the text window to view lengthy output of commands such as LIST, which displays detailed information about objects you select. To move forward and backward in the command history, you can click the scroll arrows along the right edge of the window.

Press SHIFT with a key to highlight text. For example, press SHIFT+HOME in the text window to highlight all text from the cursor location to the beginning of the line.

To copy all the text in the text window to the Clipboard, use the COPYHIST command.

To save commands to a log file, use the LOGFILEON command. For Unicode-compliant log files, use the TEXTOUTPUTFILEFORMAT system variable.

See Also