You should know the following basic DOS commands to be able to complete some of the solutions in this book and get by in the world of Windows.
This, however, should not be considered a comprehensive list of all DOS commands and their options. See Windows XP in a Nutshell (O’Reilly) for a more thorough reference, not only on the Command Prompt, but on all of the various utilities included with Windows XP that use the Command Prompt.
The commands shown here are in
width, and any parameters (the information you
supply to the command) are in
doesn’t matter which case you use when you type them in the command
prompt (DOS, like Windows, is not case-sensitive). If there is more than
one parameter, each is separated by a space:
Changes the attributes of a file or folder. The four attributes are
Rfor read only,
Afor archive, and
In Explorer, you can right-click a file or group of files and select Properties to change the attributes;
attribis the DOS counterpart to this functionality. In addition,
attriblets you change the
S(system) attribute, something Explorer doesn’t let you do. Here are some examples:
This turns on the
Hparameter for the file
myfile.txt, making the file hidden.
This turns off the
R(read-only) parameter for the file
file.doc(note that quotation marks are used because of the space in the filename).