Windows command mode is different. Usage

  
There are two main execution modes of Windows commands. The most common method we use is to select the menu item to complete the execution of the command. Although it is simple and convenient, but sometimes it is very easy to operate, it will be realized when the brush or calculator program is called in the old version system. Another way is through the command prompt window, which is very efficient to execute commands. You can call the program by typing a few simple characters, but you need to remember some feature commands. For the command prompt window, the higher version of the system also has the distinction between normal and administrator privileges. However, you may have noticed that calling the command prompt mode of a folder is cumbersome, and using the administrator command prompt may also cause trouble to enter. So, is there a good way to get in quickly? How to solve the problem? 1. Quick use of the folder command mode For the operation of the folder and its files, it is usually done in a Windows environment, but for system maintenance or programming, we may also need to enter the command prompt of this folder. Work in the window. In the Windows XP or Windows 7 environment, the step-by-step procedure of entering the command prompt window of a folder through the start menu is cumbersome, and we need to find some quick solutions. Take the command prompt window of the TEMP folder of the F disk as an example, there are various ways to achieve this. Run the Win+R command, enter the CMD command in the Run dialog box and confirm, and then enter the layer by layer with the CD command. Execute the F: command first, then execute the CD TEMP command, so you enter the TEMP command prompt environment. Figure 1: "Run method" into the folder command prompt window drag method If you feel that using the command switch mode to enter the folder command prompt window is more complicated, then you can use the CD plus drag path method to quickly enter the command Lift the window. This is especially true when the folder path is long. To do this, first open a Command Prompt window with CMD, enter a CD plus space command, and then drag the folder path from the Explorer window to the Command Prompt window. Enter the target drive letter and press Enter. The command prompt window where the folder is located can be reached. Figure 2: Dragging into a complex folder Command Prompt window The above two methods are available for Windows XP and later versions of Windows. The menu method is inconvenient because of the command prompt window, so Microsoft made a humanized change in its Windows 8.1 and Windows 10. In these two versions of the system, if you want to enter the command prompt window of a folder, just locate the folder in the Explorer, and then execute “file → open the command prompt & rdquo; Although you can click the right-click option on the Windows 8.1 and Windows 10 start buttons to enter the command prompt window, but this method enters the command of the current user folder to delete the window, to enter the current working folder command At the prompt window, you also need to execute the CD command. Figure 3: Entering the Command Prompt window via the Windows 8.1 Start button Figure 4: Entering the Command Prompt window via the Windows 8.1 File menu Tip: Quickly enter the Command Prompt window where the current working folder is located: (1) Press Shift while right-clicking on a folder and selecting “Open the command window here  (2) Enter CMD in the address bar of a folder in the Explorer and press Enter. 2. Clever use of advanced command mode Windows requires some high-level system control permissions to run as an administrator. As early as in the Windows 7 environment, we need to right-click on the "Command Prompt" under "Additional", and then select "Run as administrator" from the pop-up menu to start the administrator mode command prompt. Symbol window. In the Windows 8.1 or Windows 10 environment, the administrator mode command prompt window can have more quick start methods. Figure 5: Administrator mode command prompt window by right clicking on the Windows 8.1 start button, select “ command prompt (admin) & rdquo;, or open the command prompt &rarr through “ file → The administrator mode opens the command prompt & rdquo; can be launched to the administrator mode command prompt window. In addition, in the Windows 8.1 desktop environment, move the mouse to the upper right corner of the screen, click the "Search” button in the pop-up super button floating panel, then enter the CMD command in the input box, then use the key combination Ctrl+Shift+ Enter determines the command entered, and then the system will pop up the user account control prompt, click “ Yes & rdquo; After confirmation, you can start the administrator mode command prompt window. Figure 6: Search and execute the CMD command Tip: This method is also valid for running other applications as an administrator. Users only need to enter the command that needs to be run as an administrator into the search box, then press Ctrl+ at the same time. Shift+Enter key combination, which can run the application as an administrator. Tip: There is also a special case, that is, the command prompt for running the administrator through the menu is invalid, and there is no response after clicking the command. At this time, it can be solved by establishing a BAT file of the CMD command. You can use Notepad to create a plain text file with BAT extension. In this file, only enter the line containing a CMD command. After saving the file, right click on the file and select “&ldquo in the right click menu”. ; Run the ” command as an administrator to launch an administrator-mode command prompt window. This method is very effective when the Windows 8.1 or Windows 10 environment cannot enter the administrator command prompt in the normal way, and it can be used as an emergency. This article comes from [System Home] www.xp85.com
Copyright © Windows knowledge All Rights Reserved