Video title: Basic DOS Commands

TI: 4.2.3

 

Step Description
#1     Video 1 Access the DOS prompt. Clicking on Start > Programs >

Accessories > Command Prompt will accomplish this task.

#2     Video 2 Next, show a list of the directories that are located on the drive. At the

prompt, type dir and then press the Enter key.

#3     Video 3 Now create the IT directory by using the md [directory name]

or mkdir [directory name] command. At the command prompt, type md IT and then press the Enter key.

#4     Video 4 Display the newly created IT directory by using the dir command.

Type dir and then press the Enter key.

#5     Video 5 Change from the C directory to the IT directory by using the cd

[directory name]. Type cd IT at the command prompt. Press the Enter key.

#6     Video 6 The command prompt should be C:\IT> now. Create another

directory within the IT directory called pcs. Type md pcs and press the Enter key.

#7     Video 7 Navigate to the newly created pcs directory by using change directory

command. Type cd pcs and press the Enter key. The new prompt should look like this C:\IT\pcs>.

#8     Video 8 Use the copy con [filename] command to create a file in DOS. After

this command is typed there will be a blank line on the command prompt. Next, type This is an inventory test document. After the text is entered, hold down the Control key (Ctrl) and press the Z key

then press the Enter key. This key combination will end the message and DOS will display 1 file(s) copied.

#9    Video 9 Use the dir command to display the contents of the pcs directory.

At the prompt (C:\IT\pcs>), type dir and press the Enter key.

#10   Video 10 Use the attrib [filename] command to display the attribute(s)

for the sample.txt file. Type attrib sample.txt and press the

Enter key. The attributes should look like the following

A      C:\IT\pcs\sample.txt.

#11    Video 11 Change the attributes of the sample.txt file. At the prompt, type

attrib +R sample.txt and press Enter. Then check to see if the changes took effect. Type attrib sample.txt and press the Enter key. The attributes should look like the following

A     R      C:\IT\pcs\sample.txt.