DOM manipulation under Windows

Foreword: After learning Linux this semester, I found that operating the computer with the command line is still very fun~ I wrote this essay to summarize the operation of executing commands through DOS in the Windows environment, I hope it can help you~ When you forget can come back to review emmm

Start the DOS environment:

1. Shortcut key to start: win key + R Enter cmd in the window and press Enter

2. If you want to start the DOS environment in a certain directory, first enter the directory, then enter cmd in the search box and press Enter .

For example, I want to start a DOS environment under C:\Users

 

Five commands:

To complete the basic operation of the computer, you need to understand 5 commands (directory creation, directory switching,
viewing the list of files/folders in the current directory, opening the specified file, help).

1. Directory creation
command: md directory name (md is the abbreviation of Make Directory)


2. Directory switching
command: cd directory name (Change Directory)

 

3. View the list of files/folders in the current directory
Command: dir (Directory)

4. Open the specified file
command: more file name

 

5.help
Enter help to display all supported commands in the DOS environment.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325119566&siteId=291194637