Command Prompt for Windows




Clipboard Manipulation

The system menu contains the Edit option, which when selected will display a sub-menu containing the several options, as below :-

Marking a region

Use the mouse cursor and position it over the first character to mark. Press and hold down the left mouse button. While holding down the left mouse button drag the cursor over the last character to mark and release the left mouse button. The marked region is displayed in reverse colours.

Similarly, to mark a word, simply position the mouse cursor over the word to mark and double click the left mouse button.

To mark a whole line on the screen, simply position the mouse cursor over the line to mark and triple click the left mouse button.

To clear a region that is marked on the screen, position the mouse cursor any where on the screen and press the left mouse button once.

The WinOne® Command Prompt only allows a region to be marked and copied to the clipboard when the WinOne® Command Prompt is waiting for a key stroke or a series of key strokes to be entered.

Copying to the Clipboard

Having marked a region on the screen, there are several ways to copy it to the clipboard :-

  1. Select the Edit option in the system menu, and then select Copy.
  2. Press the Control key and the Insert key together (ie. CTRL INS).
  3. Press the Control key and the C key together (ie. CTRL C). Note: When no region is marked on the WinOne® Command Prompt screen, then pressing Control and the C key together will signal a break to any running program, command or batch file.
  4. Press the right mouse button.

When a region is successfully copied to the clipboard the highlight is cleared from the screen.

Pasting from the Clipboard

Text that has been copied to the Clipboard can be pasted to the command prompt or any command that is waiting for input. There are several ways to paste from the clipboard :-

  1. Select the Edit option in the system menu, and then select Paste.
  2. Press the Shift key and the Insert key together (ie. SHIFT INS).
  3. Press the Control key and the V key together (ie. CTRL V).
  4. Press the middle mouse button.
  5. Double click the right mouse button. When a region is marked on the screen, double clicking the right mouse button, simultaneously copies the highlighted text to the clipboard and pastes the contents straight back to the command prompt. When there is no region marked on the screen, only the clipboard contents are pasted to the command prompt.

Saving and Loading the clipboard contents

The contents of the clipboard can be saved to or loaded from any of the following standard file types :-

  1. Clipboard file (.CLP)
  2. Bitmap file (.BMP or .DIB or .RLE)
  3. Plain text file (.TXT)

Select the Edit option in the System menu, and then select Save..., to save the contents of the clipboard to a file, or select Load..., to load the contents of a file into the clipboard.

Clearing the Clipboard Contents

Select the Edit option in the System menu, and then select Clear, to clear the contents of the clipboard and release all the memory that was used for the contents that was in the clipboard.