Open
Close

How to open a command prompt as administrator in the desired folder. Running the Command Prompt on Windows

Good day everyone.

When solving various issues with Windows, very often you have to execute various commands through the “Run” menu (you can also use this menu to launch programs that are hidden from view).

Some programs, however, can be launched using the Windows Control Panel, but this usually takes longer. In fact, what is easier, enter one command and press Enter or open 10 tabs?

In my recommendations, I also often refer to certain commands, how to enter them, etc. That is why the idea was born to create a small reference article with the most necessary and popular commands, which often have to be launched through “Run”. So…

Question #1: How do I open the Run menu?

The question may not be that relevant, but I’ll add it here just in case.

On Windows 7 This function is built into the START menu, you just need to open it (screenshot below). You can also enter the desired command in the line “ Find programs and files«.

Windows 7 - START menu (clickable).

In Windows 8, 10, just press a combination of buttons Win and R, then a window will pop up in front of you, in which you need to enter the command and press Enter (see screenshot below).

Windows 10 - Run menu.

List of popular commands for the RUN menu (in alphabetical order)

1) Internet Explorer

Team: iexplore

I think there are no comments here. By entering this command you can launch the Internet browser, which is included in every version of Windows. “Why launch it?” - you may ask. Everything is simple, at least to download another browser :).

2) Paint

Command: mspaint

Helps launch the graphic editor built into Windows. It’s not always convenient (for example, in Windows 8) to search for an editor among the tiles when you can launch it so quickly.

Command: write

Useful text editor. If you don’t have Microsoft Word on your PC, then it’s generally an irreplaceable thing.

4) Administration

Command: control admintools

Useful command when setting up Windows.

5) Archiving and recovery

Command: sdclt

Using this function, you can make an archive copy or restore it. I recommend, at least sometimes, before installing drivers or “suspicious” programs, making backup copies of Windows.

6) Notepad

Command: notepad

Standard notepad in Windows. Sometimes, rather than looking for the notepad icon, you can launch it much faster with such a simple standard command.

7) Windows Firewall

Command: firewall.cpl

Fine-tuning the built-in firewall in Windows. It helps a lot when you need to disable it or give some application access to the network.

Team: rstrui

If your PC starts to run slower, freeze, etc. - then maybe it’s worth rolling it back to the time when everything worked well? Thanks to recovery, many errors can be corrected (however, some drivers or programs may be lost. Documents and files will remain in place).

Command: logoff

Standard logout. It may be necessary when the START menu is frozen (for example), or it simply does not have this item (this happens when installing various OS builds from “craftsmen”).

Command: timedate.cpl

For some users, if the icon with the time or date disappears, panic will begin... This command will help you set the time, date, even if you do not have these icons in the tray (changes may require administrator rights).

11) Disk defragmentation

Team: dfrgui

12) Windows Task Manager

Team:

By the way, the task manager is most often called up using the Ctrl+Shift+Esc buttons (just in case, there is a second option :)).

Team: devmgmt.msc

A very useful dispatcher (and a command in itself), you have to open it quite often in case of various problems in Windows. By the way, to open the device manager, you can spend a long time poking around in the control panel, or you can do this quickly and elegantly...

Command: shutdown /s

This command is for the most common shutdown of the computer. Useful in cases where the START menu does not respond to your presses.

15) Sound

Command: mmsys.cpl

Sound settings menu (without additional comments).

Team: joy.cpl

This tab is extremely necessary when you connect joysticks, steering wheels, and other gaming devices to your computer. Not only can you check them here, but also configure them for further full-fledged work.

Command: calc

This simple launch of the calculator helps save time (especially in Windows 8 or for those users where all standard shortcuts have been transferred).

Command: cmd

One of the most useful commands! The command line is often needed when solving all sorts of problems: with the disk, with the OS, with setting up the network, adapters, etc.

Command: msconfig

Very important tab! Helps you configure Windows startup, select the startup type, and indicate which programs should not be launched. In general, one of the tabs for detailed OS settings.

Command: perfmon /res

Used to diagnose and identify performance bottlenecks: hard drive, network CPU, etc. In general, when your PC is slow, I recommend looking here...

21) Shared folders

Command: fsmgmt.msc

In some cases, rather than looking for where these shared folders are, it’s easier to elegantly type one command and look at them.

22) Disk Cleanup

Command: cleanmgr

By regularly clearing your disk of junk files, you can not only increase the free space on it, but also somewhat speed up the performance of your entire PC as a whole. True, the built-in cleaner is not so skillful, so I recommend these:

23) Control panel

Command: control

Helps you open the standard Windows Control Panel. If the START menu is frozen (this happens when there are problems with Explorer)- in general, an irreplaceable thing!

24) “Downloads” folder

Team: downloads

Shortcut to open your downloads folder. By default, Windows downloads all files to this folder (quite often, many users look for where Windows saved the just downloaded file...).

Command: control folders

Setting up folder opening, display, etc. Very convenient when you need to quickly set up work with catalogs.

Command: shutdown /r

Reboots the computer. Attention! The computer will restart immediately without any questions about saving various data in open applications. It is recommended to enter this command when the “usual” method of restarting the PC does not help.

Command: control schedtasks

A very useful thing when you want to schedule the launch of certain programs. For example, to add some programs to startup in new Windows, it’s easier to do this through the task scheduler (also specify how many minutes/seconds later to launch this or that program after turning on the PC).

Command: chkdsk

29) Explorer

Team:

Everything you see when you turn on your computer: desktop, taskbar, etc. - all this is displayed by Explorer, if you close it (the explorer process), then only . Sometimes explorer freezes and needs to be restarted. Therefore, this command is quite popular, I recommend remembering it...

Command: appwiz.cpl

This tab will allow you to familiarize yourself with the applications that are installed on your computer. Those that are not needed can be deleted. By the way, the list of applications can be sorted by installation date, name, etc.

Command: desk.cpl

A tab with screen settings will open, among the main ones is screen resolution. In general, in order not to search for a long time in the control panel, it is much faster to type this command (if you know it, of course).

32) Local Group Policy Editor

Command: gpedit.msc

Very helpful team. Thanks to the Local Group Policy Editor, you can configure many settings that are hidden from view. I often refer to him in my articles...

Command: regedit

Another mega-useful command. Thanks to it, you can quickly open the system registry. In the registry, you very often have to edit incorrect information, delete old tails, etc. In general, with a wide variety of problems with the OS, it’s not possible without “getting into” the registry.

34) System Information

Command: msinfo32

A very useful utility that will tell you literally everything about your computer: BIOS version, motherboard model, OS version, its bit depth, etc. There is a lot of information, it’s not for nothing that they say that this built-in utility can even replace some third-party programs of this genre. And in general, imagine, you went to a PC that wasn’t yours (you won’t install third-party software, and sometimes it’s impossible to do this) - and so, you launched it, looked at everything you needed, closed it...

Command: sysdm.cpl

Using this command, you can change the computer’s workgroup, PC name, launch Device Manager, adjust performance, user profiles, etc.

36) Properties: Internet

Command: inetcpl.cpl

Good afternoon, dear readers of the blog site, today I want to talk about the topic How to open the Windows command line / 10 ways to open the command line. What is cmd, that's what Wikipedia tells us.

cmd.exe- command line interpreter (English) command line interpreter) for operating systems OS/2, Windows CE and for a family of operating systems based on Windows NT (eng. Windows NT-based). cmd.exe is analogous to COMMAND.COM, which is used in the MS-DOS and Windows 9x families. Operating systems of the Windows NT family for the IA-32 and OS/2 architecture also have COMMAND.COM for compatibility with older programs. In the interpreter settings, it is possible to change the cursor size, font, text color and window size.

Let's look at how to open it.

How to open command prompt as administrator

Below we will look at ten ways I know how to open the command line as an administrator.

1 way to launch the command line. Before Windows 8 (unless you have to return the start button)

To open the command line, click start and enter cmd in the search field, the program icon to launch will appear at the top

or enter command line, the effect will be the same

If you need to open cmd on behalf of the Administrator, then this is done with the right button and selecting

In Windows 10, the search looks like this: you click on the magnifying glass icon and write cmd. The search result will appear at the top.

Method 2 is by using Run

Press two magic buttons win+R

The Run window will open, type cmd and press Enter.

3 The way to open the command line is through the Windows folder

Open My Computer and go to the path C:\Windows\System32 and find the cmd.exe file there. The method is not the fastest, but anyone can handle it. The essence is simple, the command line, like all utilities, has its own executable file. We find it and launch it, do not forget about the right click and the context menu with administrator mode.

4 The way to call cmd is to create via a shortcut

In this method, we will create a Windows shortcut for the task at hand. Right-click Create-Shortcut

Specify the location of the file, write cmd here

How to name the shortcut is up to you, I’ll call it cmd too, Done

And we see that a command line shortcut has been created

5 Method to launch the command line, through the task manager

Open the task manager by right-clicking at the bottom of the screen

Go to the menu File-Run new task

We write cmd in the task and click OK and enable the command line.

6 Method to launch the command line, for those with Windows 8 and higher

We go to Start and click on the magnifying glass at the top right, or the magnifying glass can be called up from the side menu on the desktop

We enter cmd and in the search results we see the shortcut we need.

You can also press the down arrow in Start.

The start menu structure will open in which by scrolling to the right you will find the command line

7 Method to launch the command line, for those with Windows 8.1 and higher

Right-click on Start and select Command Prompt

Method 8 through standard programs in start up to windows 8

Open start all programs

Go to Tools - Command Prompt

9 Method using the Explorer menu in Windows 8, 8.1 and 10

Open any folder and click on the File menu on the left

and select open command line, you will immediately be offered two options: simple opening or as Administrator.

The trick is that the command line will open the current directory, not the user's folder.

Method 10 via the Shift button

Select any folder, hold Shift and right-click and from the context menu select Open command window

Launch using voice assistants

In an era when people have become so lazy that it is already difficult for them to enter something on a computer and phone. Voice assistants have arrived, Cortana, Alice, Google Assistant, they all allow you to perform various actions using your voice. Depending on what voice assistant you have, you'll need to say a magic phrase to activate it, then ask it to open a command prompt for you. Let me remind you that Cortana is only available in Windows 10.

Here we have figured out how to open the Windows command line, which method is right for you, I don’t know, I just know that there is a choice.

Hi all! It would seem, why a separate note with instructions on how to open the command line in Windows 10? - In fact, many users (especially after switching to Windows 10) Many questions arise: where did this damn command line go from its usual place?! Since I had to tune in to the story, I decided to reveal this issue in as much detail as possible and show you as many as 10 different ways to launch the command line in the latest Windows 10.

You are probably already familiar with some of the methods, but I think even an advanced user will find several interesting and useful points for themselves. This note was written for Windows 10, but most of what is described in the article works perfectly on earlier versions of Windows - I just don’t see the point in writing for outdated systems...

I was prompted to write this note about all the ways to open the command line by your questions in the note about the missing, where in the last paragraph we looked at a way to fix the problem through the command line.

Of course, modern systems are quite simply controlled with a mouse and we rarely use entering various commands, but sometimes you need to do something specific and this is often done by simply entering a command into the terminal, and today we will look at how to launch it (all options known to me). We will call the line on behalf of the Administrator and with a limited account.

Open a command prompt window from the Win + X menu

This is probably the easiest way to open the command line on Windows 10 - press the “Win ​​+ X” combination on the keyboard and select the desired item in the menu that appears.

The convenience of this method is that you can select several command line operating modes at once - these are:

  1. Command line - normal, with limited rights;
  2. Command Prompt (Administrator) - with unlimited rights (be careful)

There are a lot of interesting things in this menu and I recommend that you familiarize yourself with it in detail; sometimes it helps a lot and saves time.

Open a command prompt window from the Task Manager

Open Task Manager and go to detailed mode (Click for more details). Click "File" in the top left corner and then go to "Run New Task." Type CMD or cmd.exe and click OK to open a command prompt. In addition, you can check the box that will launch the command line with Administrator rights.

Command Prompt in Administrator Mode Using Task Manager - The Secret Method

Here, almost everything is the same as in the previous paragraph, to launch the command line as an administrator - just hold down the CTRL key on the keyboard while clicking File > Create a new task, thereby you will open the command line with admin rights (no commands needed)

Open Command Prompt from Search Results

You can easily open a command prompt window by simply typing “CMD” in the search field (Keyboards Win + S on keyboard). Perhaps when Cortana is brought to Russia, we will be able to command the computer with our voice, but for now we will do without it...

To launch the terminal this way with administrator rights, enter CMD in the search field and right-click and select “Run as administrator.” Alternatively, to avoid touching the mouse at all, use the arrows to select the command line and click CTRL + SHIFT + ENTER to open a command prompt window in administrator mode.

Launch Command Prompt from all applications in the Start menu

Open the Start menu by clicking on the Windows icon in the lower left corner. Go to all applications and find “System - Windows” there, and then click on “Command Prompt”

Open the command line from Explorer

You can also open the Command Prompt through Windows Explorer - just go to C:\Windows\System32 and find the cmd.exe file there. You can either double-click, or by right-clicking, select “Run as administrator” - it all depends on you and what rights you want to run the terminal with.

Command line from the Run menu

Click the buttons Win + R» on the keyboard to open the Run dialog box. Type CMD command and click OK (or Enter on the keyboard).

Open Command Prompt from Explorer's address bar

Open Windows Explorer and click on the address bar (or press the keyboard shortcut ALT + D on keyboard). Just enter CMD in the address bar and you will launch a command line indicating the path of the current folder (where you were at the time the terminal was called)

Command line from the File menu in Explorer

Open standard Windows Explorer, go to the folder or drive that will be selected as the starting one in the command line. Click "File" on the ribbon and select "Open Command Prompt." Here you have two launch options:

  1. Open command line - opens a command line in the folder of our choice with standard permissions;
  2. Open Command Prompt as Administrator - opens a command prompt window in the folder of our choice with administrator rights.

Open a command window in Windows Explorer

To open a command line window in any folder or drive you need, just go there through standard Explorer. Right-click on the folder or any empty space on the right side of Windows Explorer while holding down the SHIFT key on your keyboard, and select “Open Command Window” from the context menu. The terminal will launch indicating the path to the folder in which we were located.

Create a command prompt shortcut on your desktop

Well, we figured out how to open the command line in Windows 10 and similar systems, I hope you don’t have any questions - as a bonus, I decided to tell you how to create a shortcut on the desktop or in any other place convenient for you to launch.

Right-click on an empty space on the desktop and select “New > Shortcut” from the context menu.

In the "Specify the location of the object" field, enter "cmd.exe" and click "Next"

Give any name to the created shortcut and click “Done” (for example, I named Command Prompt Administrator, since I plan to run it with extended rights and I’ll tell you how to do the same)

If you, like me, want to run the command line from a shortcut as an administrator, then go to the shortcut properties (right-click on the shortcut and select Properties from the context menu). Click the "Advanced" button at the bottom and check the "Run as administrator" option.

So you have created a shortcut that will open a command prompt window by double-clicking on it. I hope that you no longer have a pressing question - how to open a command prompt window in Windows 10, but just in case - I'm waiting for your comments...

In today's article, we will look at how to open the command line in Windows 10. In all versions of Windows, the developers have provided for the launch and operation of various system commands through the command line. I very often come across various articles on the Internet where the authors give users various instructions and write: open the command line, enter the following command. At the same time, the user falls into a stupor, everything seems to be clear, enter a command, and the system will miraculously do everything for you, but there are practically no instructions anywhere on how to open the command line. This is especially important if you need to run it with administrator rights.

If you ask why we will consider how to open the command line in Windows 10, then let's figure it out. The fact is that if you have installed or are going to install Windows 10, you will see that the Start menu interface has been slightly redesigned. So, in the top ten there is no shortcut to launch the command line, and there is also no “Run” item. Accordingly, users are faced with the task of how to launch the command line.

Probably the easiest way to launch the command line in normal mode and mode with administrator rights is using the WinX menu. This menu appeared in the new Windows 10, and its name corresponds to a combination of hot keys. Let's look at how to open the Command Prompt in Windows 10 using the new menu.

As you can see, this method of opening the command line is the simplest and fastest; most likely, few of you knew about the new WinX menu.

Launch the command line via Windows search.

All versions of Windows have a built-in search menu. It makes it easier to find and launch almost all third-party and some system commands and applications. In order to find the desired application through the search, start entering its name, and the system will give you the found options.

In order to open the command line using Windows 10 search. Take the following steps.

That's all, this method is finished, now you know how to open the command line in Windows 10 using the system search functions. Next we move on to the next step.

Launch the command line using Windows 10 Explorer.

If you recently installed Windows 10, then most likely you do not know that you can launch the command line in the new operating system from any Explorer window.

In order to open the command line through Explorer, open any of its windows. Hold down the Shift key and right-click on any free area of ​​the window. A drop-down menu will appear in which we are interested in the “Open command window” item. Next, a command line will open in front of you.

Note! In this way, the command line will be launched with normal rights, without administrator privileges.

How to open the command prompt in Windows 10 using the CMD command.

Since the command line starts when you run the cmd.exe system file, you can open it using the executable file. It is located in the system folder. Depending on whether your operating system is 32-bit or 64-bit.

Note! The cmd.exe file will be located in different directories. It all depends on the bitness of your operating system.

If you have a 32-bit operating system, then you will find the cmd.exe application in the path C:\Windows\System32. For a 64-bit version of the operating system, this is the folder C:\Windows\SysWOW64

You can also launch the command line using the Run command interpreter. To launch it, press the hotkey combination “Windows + R”. The “Run” window will open, in which we enter the “cmd” command. After clicking the “Ok” button, the command line will open.

You can also run the cmd.exe application through the Windows Task Manager. You can open the task manager in Windows 10 using the keyboard shortcut “Ctrl+Shift+Esc” or right-click on the taskbar and select “Task Manager”.

The next step, in the task manager, click the “File” menu - “Run a new task” and in the window that opens, write “cmd”.
After clicking the “Ok” button, the Windows 10 command line will open. Thus, we have figured out in detail how to open the command line in Windows 10 using the cmd.exe application.

Conclusion.

In today's article, we looked in detail at 4 ways to open the command line in Windows 10. I hope these instructions will be useful to you and you will be able to execute all the necessary system commands using the command line. One of the most popular system commands is Ping; we often use it when

It is hardly possible to imagine functional work on a computer without using the command line. Whether you like it or not, sooner or later you will still have to use it to make settings in the operating system, absolutely regardless of whether Windows XP, 7 or 8 is installed on your PC. However, where computer geniuses ate the dog, novice users have to be content painful questions. And the main one among them is how to launch the command line on the now popular Windows 8 and 7 operating systems? Perhaps it would be simply cruel not to answer it.

Method number 1: Launch through the search menu

Using the search is the simplest method, which can be used equally effectively to launch the command line on computers running Windows versions 7, XP and 8. However, the execution options will be somewhat different from each other.

Windows 7 OS:

Open the Start menu and type the word “command” into the search bar. As a result, the system will perform a search on its own and display the command line shortcut. All you have to do is right-click on it and select “Run as...” from the menu that appears:

In addition, you can use another search value, for example, by entering the word cmd in the search bar:

In any case, no matter what method you choose, as a result of such actions, the system will open the command line needed for work:

In this version of the Microsoft operating system, you can use the cmd command using the search bar in Metro. To do this, open the Windows 8 start screen and enter cmd into the search. As a result, the “Command Prompt” icon should appear on the left. Right-click on it and click the “Run as …” tab at the bottom of the screen:

Method #2: Using Task Manager

For some reason, this method is used infrequently by users, although in terms of efficiency and speed it is not inferior to the method described above. True, as in launching the command line using the cmd command through the “Run” or “Search” utility, you will have to act somewhat differently in Windows 7 and 8.

Windows 7 OS:

To launch the task manager, press Esc, Shift and Ctrl on the keyboard at the same time. Next, in the window that opens, find the “File” tab and select the “New task (Run...)” option in it by clicking the left mouse button:

As a result, the “Create a new task” window will appear. In this case, you also cannot do without the cmd command. To execute it and launch the command line accordingly, enter the cmd value in the empty field of the system window and confirm your choice by simply pressing the OK button:

Windows 8 OS:

To begin, just like on computers with Windows 7 installed on them, simultaneously press the Shift, Ctrl and Esc buttons on the keyboard. After that, in the window that opens, select the “File” tab, and in it the “Run a new task” section. As a result, the “Create task” utility will open. It is quite appropriate to use the cmd command in it. Enter the word cmd in the “Open” line, and then click OK:

Method No. 3: Launch using Explorer

This method does not require running a cmd command or running third-party programs. To launch the command line on your computer in this case, it will be enough to use the “Explorer” function provided by the developers of Windows 7 and 8.

Open “My Computer” and enter Work Disk C. Then enter “Command Prompt” into the search and press Enter. As a result, the system will find the shortcut we need. After that, all that remains is to right-click on it and select “Run as...” from the proposed menu:

While in the Metro UI, click the Windows Explorer tab, then go to Computer and select drive C. Then open “File”, find the “Open command line…” item in the menu and select the required option to log in:

Let's reveal a little secret here. Once you have entered the command line, you can use the help command to get all the necessary help information about it:

This trick can come in handy if you accidentally forget the meaning of a particular command or are initially unsure of its effectiveness.

Method number 4: Start from a folder

For those who want to launch a command line on a PC to configure a specific folder, it is enough to use this method. Startup time is reduced by half.

All we need is to find the required folder and, holding down the Shift button on the keyboard, right-click on this folder, and then select “Open command window” in the proposed menu:

Everything is much simpler in this OS. All you need to do is go to the desired folder and press the Alt and 2 buttons on your keyboard without changing the keystroke sequence.

Method No. 5: Launching through the Run utility

This method is great for computers with Windows 7 and previous versions of the OS. In this case, we will again need the benefits of the cmd command, but first we still need to call the Run utility. This can be done by simultaneously pressing the R and buttons on the keyboard. After the utility starts, enter the cmd value into the empty field in the window and press OK on the screen or Enter on the keyboard.