PC Repair and Maintenance: A Practical Guide (Charles River Media Networking/Security)

 < Day Day Up > 


A Practical Tutorial and Reference

In this appendix, we will discuss only those commands, switches, and parameters likely to be helpful to those repairing a computer. Because general networking is beyond the scope of this book, networking commands are excluded. In most command references, there is so much punctuation to indicate variables that until you become experienced with the commands, you might have trouble determining which punctuation is for variables and which is part of the syntax of the command. Therefore, we attempted to show these commands with a minimum of punctuation.

Selecting and Copying Text from a Command Prompt Window

  1. Click the icon in the upper left-hand corner of the bar on top of the window, point to Edit in the menu that appears, and click Mark.

  2. Click at the beginning of the text you want to copy.

  3. Press and hold down the <SHIFT> key, and then click at the end of the text you want to copy.

  4. Click the icon again, click Edit, and then click Copy.

  5. Paste the text into a document by holding the <Ctrl> key and pressing <C>, or by selecting Paste from the Edit menu. If you want to paste the text back into the command prompt window, click the icon again, point to Edit, and click Paste.

Using Wildcard Characters

Wildcard characters can be used when using Windows Search or Find, and to represent multiple files or folders when using a command prompt. Wildcard characters are as follows:

Asterisk (*): Acts as a substitute for zero or more characters. For example, to search for or make a change to any .txt file that starts with G, enter G*.txt. If you want any file that has an extension starting with .tif, enter *.tif. For all files in a particular folder, enter *.*.

Question mark (?): Acts as a substitute for any single character. For example, to search for or make changes to all .doc files that start with Karen followed by a single character, enter karen?.doc. This would find or change karen1.doc, karen2.doc, and so forth, but would ignore karen10.doc because the number 10 has two characters.

Notes


 < Day Day Up > 

Категории