Windows summary
1. Basic Windows commands and usage
Click the title below, it will automatically jump to the detailed explanation of the command ~
1. Command syntax
2. Command tips
3. cd command
4, md command
5, rd command
6, del command
7, cls command
8, dir command
9, ren command
10, services.msc command
11, regedit command
12, taskmgr Command
13, control command
14, tasklist
15, mount an existing disk to the directory operation
16, about user command summary
Two, Windows environment variables
Click the title below, it will automatically jump to the detailed explanation of the command ~
1. The role of Windows environment variables.
2. View system variables.
3. Add system variables.
4. Modify environment variables.
5. Delete system variables.
6. The role of PATH environment variables.
7. Notes on PATH environment variables.
8. Examples of PATH environment variables.
1. Basic Windows commands and usage
1. Command syntax
Main usage:
Command [parameter] [option]
2. Command tips
Main usage:
(1) Automatic completion;
Command: tab
(2) View the history of commands;
命令:doskey /history
3. The cd command
Main usage:
(1) Current directory;
Command: cd.
(2) Return to the superior directory;
Command: cd…
(3) Switch to the desktop;
Command: cd Desktop
(4) Go back to the directory of the current "disk";
Command: cd \
(5) To switch the disk, directly enter the drive letter followed by a colon;
Command: c:
(6) Switch to subdirectories;
Command: cd dirname
、
4. md command
Main usage:
(1) Create a directory at the current location;
Command: md dirname
5. rd command
Main usage:
(1) Delete the directory at the current location;
Command: rd dirname
6, del command
Main usage:
(1) Delete the file at the current location;
Command: rd filename
7, cls command
Main usage:
(1) Clear the screen;
Command: cls
8, dir command
Main usage:
(1) Display all directories and files at the current location;
Command: dir
#Note: <DIR> means directory
9, ren command
Main usage:
(1) Rename the file name;
命令:ren filename newfilename
10. Services.msc command
Main usage:
(1) Open the service list of Windows;
Command: services.msc
11. Regedit command
Main usage:
(1) Open the service registry;
Command: regedit
12. taskmgr command
Main usage:
(1) Open the task manager;
Command: taskmgr
13, control command
Main usage:
(1) Open the control panel;
Command: control
14, tasklist command
Main usage:
(1) Display all service processes of the computer;
Command: tasklist
15. Mount an existing disk to the directory operation
Main usage:
(1) Each partition in the windows directory has a root, and all partitions can also be mounted to a disk;
(2) Right-click My Computer on the desktop and select Manage;
(3) Create a mount directory. I created a D_copy directory on the C drive as the mount directory;
The command to switch to the C drive is: c:
Create the D_copy directory on the C drive: md D_copy![Insert picture description here](https://img-blog.csdnimg.cn/20200713025211656.png#pic_center)
(4) Let's go back to the computer management and disk management opened in the first step, select the disk you want to mount, right-click and choose to change the drive letter and path;
(5) Select Add, select the mount directory created in the second step (of course you can create a new one), and click OK;
(6) At this time, we open the mount directory we created and find that the folders and files in the directory are all files in the mounted disk, Success;