Redirecting Command Line Output to the Clipboard with the Clip Utility
Anyone who has used redirection knows the benefits of sending output data to another location,
such as a file, or getting input from another location, such as the COM port. The Clip utility lets you
perform redirection using the Windows Clipboard. You use redirection or the pipe command as
you normally do. For example, Dir | Clip sends the output for the directory command to the clipboard.
This command uses the following syntax:
Clip
You don??™t need to supply any command line switches when using this command. It works much
like the More command. For example, if you want to place the output of the Dir command on the
clipboard, you would type Dir | Clip and press Enter. At this point, you can type Notepad and
press Enter to start the Notepad utility. Select Edit Paste and you??™ll see the output of the Dir command
in Notepad, where you can edit the information to suit your needs.
Clearing the Display with the CLS Command
The Clear Screen (CLS) command clears the screen buffer and presents you with a clean display.
All that remains is the command prompt. This command uses the following syntax:
CLS
You don??™t need to supply any command line switches when using this command.
Pages:
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353