Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
1.1_1.5_1.6 lab.doc
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
557.57 Кб
Скачать

Part 2. Commands dos

1. To start session MS-DOS as described in item 2. To be switched in any mode.

2. To fix a kind of invitation DOS (for example, С:\Windows>).

3. Commands DOS. Are entered from the keyboard into a command line (a line with invitation DOS) and it is then pressed Enter.

3.1. To receive the information on current version DOS. A command

ver

Actions are illustrated on fig. 1.4.4.

3.2. To receive the information on current date. A command

date

On the screen of the message:

Current date: Sat, 11/10/2001 Enter new date (dd-mm-yy):

For change of date enter from the keyboard new date (for example, day of your birth in new to year) in a necessary format (specified in handles) and press Enter. Repeat a command date and enter correct current date. Repeat a command date and if date true or you do not want any changes, press Enter. Actions are illustrated on fig. 1.4.5.

Fig. 1.4.4 Fig. 1.4.5

3.3. To receive the information on current time. A command

time

On the screen of the message:

Current time: 14:40:27,77 Enter new time:

For change of current time, enter from the keyboard new time (any) in any format (to enter hour and minute enough) and press Enter. Apply repeatedly a command time and enter correct time. Apply repeatedly a command time and if time true or you do not want any changes, press Enter.

Actions are illustrated on fig. 1.4.6.

Fig. 1.4.6

3.4. Clear the screen a command cls

3.5. The command of viewing of the catalogue in a general view looks as follows:

Dir [disk:] [catalogue name] [/key/key/ .../key]

In square handles unessential parameters, i.e. such are specified, that can be and can not be.

3.5.1. To look the maintenance of the current catalogue i.e. specified in invitation DOS. A command

dir

3.5.2. to execute a command

dir с:\/p

For viewing the root catalogue of disk С:\. The key p means a mode of paginal viewing. On the screen the information of the kind represented on fig. 1.4.7. For continuation it is necessary to press any key (it is recommended - a blank). The Fig. 1.4.8 answers the end of viewing.

Fig. 1.4.7

Fig. 1.4.8

To fix, what information stands out a command dir for folders, which - for files.

3.5.3. to execute a command

dir/w

For viewing the current catalogue in a large-format mode.

3.6. The command of change of the catalogue in a general view looks a following grade:

cd [disk:] [way]

3.6.1. The command cd <a name of the catalogue> carries out transition in the specified subdirectory. To execute a command

cd system

To fix a kind of invitation DOS and then to apply a command

dir/p

And to fix subdirectories. To apply a command

cd a name of subdirectory

To fix a kind of invitation DOS.

3.6.2. A command cd.. Carries out transition on one level upwards. To execute a command

cd..

To fix a kind of invitation DOS. to execute a command to an output in the root catalogue of disk С:\. To look its maintenance a command

dir

3.6.3. To pass in catalogue Program Files a command (long names write so-called)

cd “ Program Files ”

To pass in catalogue Accessories. To fix a kind of invitation DOS.

3.6.4. The command cd \ carries out transition in the root catalogue from any level. To execute a command

cd \

To fix a kind of invitation DOS.

Actions on item 3.6. 1-3.6.4 illustrated on fig. 1.4.9 (except for performance of a command dir).

Fig. 1.4.9

3.7. To execute transition from a disk C on disk D a command:

d:

To fix a kind of invitation DOS.

4. To finish session DOS1.

As a result of performance of work it is necessary to know the following:

1. Start of session MS-DOS.

2. Switching between session MS-DOS and interface Windows and on the contrary.

3. Adjustment of window MS-DOS.

4. End of session MS-DOS from a window and with in all screen a mode.

5. Commands of DOS: ver, date, time, dir, cd, a command of transition from a disk on a disk.

1Сеанс DOS it is necessary to finish always, as without it an impossible correct output from Windows.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]