How To Enter A Command

Table of contents:

How To Enter A Command
How To Enter A Command

Video: How To Enter A Command

Video: How To Enter A Command
Video: Windows Command Line Tutorial - 1 - Introduction to the Command Prompt 2024, May
Anonim

The introduction of MS-DOS commands is one of the most effective ways of direct interaction between the user and the Microsoft Windows operating system using a text-based interface. It provides a runtime environment for applications and system utilities and provides a display of ongoing processes, allowing you to influence them.

How to enter a command
How to enter a command

Instructions

Step 1

Determine which category of MS-DOS commands you want to use: internal, executed by the Command.com interpreter, or external, included in the computer operating system package and consisting of separate files. The latter are located on the hard disk and are intended for system maintenance.

Step 2

Remember the MS-DOS command syntax - command name plus parameters, separated by spaces. The parentheses indicate the optional execution of the individual components of the command.

Step 3

Use the command "copy con filename" to create a new text file. The command requires the input of the lines of the file after specifying its name. Press the softkey labeled Enter at the end of each line entered. Simultaneously press the Ctrl + I keys to save the changes and confirm the execution of the command by pressing the Enter key.

Step 4

Enter the command "del (path) filename" to delete the selected file. The need to specify the path to the file can be caused by saving it in another directory.

Step 5

Select the command "ren (path) filename 1 filename 2" to rename the selected file 1 to a new name 2. You may need to specify the path to the file by saving it to a different directory.

Step 6

Use the command "copy filename (path) filename 1" to create a copy of the selected file. The need to specify the path to the file can be caused by saving it in another directory.

Step 7

Use the "drive_letter:" command to navigate to the selected drive.

Step 8

Select the command "dir (path) (filename) (/ p) (/ w)" to browse the directory, where / p is to use full screen data view, and / w to display only the filenames in the selected directory (five names per line) …

Step 9

Use the "cd path" command to change the current directory.

Step 10

Use the value "md" to create the required directory.

Step 11

Use the "rd" command to remove the selected directory.

Step 12

Use the MS-DOS command line to enter all of the above commands. It appears at the end of the download and looks like: C:> Here "C:" is the name of the disk, and ">" is the location of the command.

Recommended: