How to open a folder in command line on Windows? Get windows 10 command prompt.

How to open a folder in command line on Windows? Get windows 10 command prompt.

15.02.2022

“Where did they hide everything? Why have familiar and constantly needed applications disappeared from their places? - something like this is what users who switched to Windows 10 from the "seven" and "piggy" think. Where did the command console go?

In fact, she didn't go anywhere. It lies in its original place, but for some reason it has become more difficult for many to launch it. Perhaps out of habit. In order to make it easier for you, today I will tell you about how to open the command line in Windows 10 7 in the easiest way and share some tricks “for the lazy”.

The method is simpler than simple: through the RMB menu of the Start button

If you did not have time to update your "top ten" to version 1703, right-click on Start (RMB) or press the Windows key combination and X. The console opening commands are located at the bottom of the first part of the menu.

For some reason, in build 1703, the command line in the Start RMB menu was replaced with PowerShell. Here's what happened:

You can use this application in the same way as the console, but if the familiar black window is closer and dearer to you, let's return it to its place:

  • Let's open the system utility " Parameters"and go to the section" Personalization».
  • Select from the list of subsections " Task bar". Right next to the command " Replace command line with shellPowerShell...»Move the slider to the position « Off».


The ancient way: through the directory of installed programs

You have most likely used this method before, and it may seem unusual because the catalog of installed applications has changed a bit in the top ten. So:
  • Go to Start and open the list " All programs". We go down almost to the very bottom - to the letter "C".
  • Expanding the section Office - Windows» and here she is, dear, in front of us.

If you are going to use the console for administrative tasks, click on " command line» with the right mouse button, select « Additionally" And " Run as administrator».


Quick way: through the "Run" dialog

  • To open the above dialog box, press a combination of Windows and R on the keyboard, or go to the context menu of the Start button and select " Run».
  • Enter the command " cmd” (without quotes) and click OK.


Universal way: using the system search function

  • We click on the magnifying glass icon in the taskbar or press on the Windows keyboard and S - both actions do the same thing - open the search window. Enter in the field " Search inWindows» already familiar command « cmd". A list of files and folders that contain this word will appear at the top. And the first number in it will be what we were looking for.

If you want to run the console as an administrator, click on the found RMB file and select the appropriate command. Or after entering " cmd» in the search field, press the combination Enter-Shift-Ctrl on the keyboard.

The Tricky Way: Creating Shortcuts

If you use the console all the time, you may find it convenient to open it with a shortcut on the taskbar, desktop, or Start. Let's figure out how to create it.

On the taskbar

Let's find cmd using the Windows search (you already know how to do this), right-click on it and select " Pin to taskbar". The shortcut will be placed at the bottom of the screen near the Start button.

By default, the command line is run under the current user account. To open it once with administrative rights, click on the RMB shortcut, right-click again on the item “ Command line' and select ' launch from admin».

If you want the utility to run with administrator rights all the time, open it through the same menu " Properties". On the tab " Label» of the window that appears next, click « Additionally».

In the advanced properties box, check the box " Run as administrator” and save the setting.

In Start

We find the console through the search and open its context menu - just like to create a shortcut on the taskbar. Choose " Pin to home screen". After that, a shortcut (more precisely, a tile) will appear in the right half of the Start menu.

To call the console with admin rights, you will again have to get into the right-click menu. The option is hidden under " Additionally».


On desktop

To create a command line shortcut on the desktop, you first have to open the storage location of its executable file - cmd.exe. It hides deep in the bowels of the \Windows\system32 system directory. In order not to look for it through the explorer, create a shortcut on the taskbar according to the instructions above (you can delete it later), go to the properties and click the button " File Location»

Having opened in the target directory and found the desired object, right-click on it with the "rodent" button. From the drop-down menu, select " Create Shortcut” and confirm your consent to save it to your desktop.


The lazy way: assign hotkeys to launch the console

Is it inconvenient to click on the label? Or maybe lazy, like me? Assign a keyboard shortcut to open the command prompt. To do this, go to the properties of the previously created shortcut, place the cursor in the " Quick call» and press any keys 2-3 together.

After saving the setting, the command line will open with this combination.

The most practical way: create a command to open CMD in the explorer context menu

One of the most practical ways to call frequently used system utilities, I find adding the appropriate commands to the File Explorer context menu. For example, desktop. This is done very simply.

To enable the command line in the desktop RMB menu, copy the instructions below into notepad or a program that replaces it. Save the file with an arbitrary name. Specify as an extension. reg(to assign a custom extension to a notepad text document, press Shift+Ctrl+S and change the file type from "txt" to "all").

empty line

@="Command line"


If you want to remove the command, copy the following instructions into a text document, save it as a .reg file, and execute.

Windows Registry Editor Version 5.00

empty line

[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\1]

In a second, there will be no trace of her.

I hope this is more than enough. Now you will definitely not have problems with opening a black window in Windows 10.

Sometimes you have to use the command line to solve computer problems. There are several ways to do this. In the right hands, the command line is a very powerful and flexible tool. With its help, you can get to the most hidden settings of the operating system. Using the command line, hackers can show you things you don't even know about your computer.

But first you need to find this so-called command line. Today we will talk about how to call the command line in Windows 10. Some of these methods are also suitable for other Windows systems. So watch, read and apply.

What is command line inWindows

The command line is a mandatory program of any operating system for entering commands without using windows. The program itself looks like a black box with a white line. You can enter commands only in Latin and Arabic numerals. She does not perceive Russian letters and does not even allow them to be entered.

The command line is a standard Windows tool that allows you to control a personal computer through text commands, and not through a graphical interface. The functionality of windows with convenient buttons and eye-pleasing design is sometimes not enough, and even a novice user sooner or later encounters the command line. This article describes how to open a folder on the command line and what functions you can perform with it using text commands.

Open command line

First you need to launch a command prompt window. This can be done in several ways.

  1. Through the start menu. You need to open the menu and find the "Utilities" section. Here, double click on the line to launch the application. If you need to run the program as an administrator, select the appropriate item from the context menu.
  2. Through the search bar. In the taskbar search, you can type cmd or "command prompt" and then right-click on the search result. From the menu, select the option to run with administrator rights.
  3. The third option is a command in the program application, use the Win + R key combination, and enter cmd in the line and press Enter. The utility will start immediately with administrator rights.

Windows 10 has an extended version of PowerShell that can be launched in the same ways, only in the case of the Run application, you need to enter powershell.

How to open a folder on the command line?

Now - to the input of commands. To do this, you need to enter cd, put a space and do not press Enter to apply the command. After that, you must write the path to the required directory. For example, to open the System32 folder on the system partition, you would type cd C:/WINDOWS/System32/ and press Enter.

This is how you can open a folder on the command line and navigate through the directories. To do this, use a number of useful commands:

  • cd .. - go one level up;
  • cd \ - go to the root directory of the hard disk;
  • cd /d - change directory or hard disk (or all at the same time).

By memorizing these combinations, you can navigate through directories and run programs, open files, edit folders, and so on. For help on other useful commands, type help and press Enter.

How to open command prompt in a folder on Windows 10?

In order not to manually enter the path to the directory via cmd, you can run the command line already in the folder itself. In this case, the starting point for commands will be the current directory, and you will only have to perform the necessary operations. In the latest update, the default context menu in Windows 10 is just "Open PowerShell window here".

To start, you need to go to the folder through the explorer and, while holding down the Shift key, right-click in an empty space. Select the item mentioned above from the context menu. After that, a command line will appear with a predefined path to the directory.

You can also open PowerShell through Explorer as follows:

  • go to the directory window;
  • click on the "File" button;
  • In the menu that opens, select "Start Windows PowerShell".

Now you know how to open a folder through the command line in Windows and vice versa. Both options are relevant in the latest Windows 10 updates and can be useful to a computer user at any time.

To perform administrative tasks, sometimes you need to run the command prompt as an administrator. Unlike previous versions, there are many more ways to do this in Windows 10. How to run command prompt with admin rights in windows 10?

6 Ways to Open CMD with Windows Administrator Rights

Let's look at all the options:

  1. Run cmd as administrator with the Win + X keyboard shortcut;
  2. Calling the command line through the Windows 10 search;
  3. Opening a windows 10 command prompt shortcut with administrator rights;
  4. Command line execution through Windows Tools;
  5. Calling the Windows 10 command line through the "Task Manager";
  6. Opening cmd from explorer.

Run cmd as administrator with Win+X keyboard shortcut

Press the key combination Win + X, select "Command Prompt (Administrator)".

Calling the command line through Windows 10 search

To call the command line, hover the mouse over the search button, enter "CMD", press the right mouse button - "Run as administrator".

Opening windows 10 command prompt shortcut with admin rights

We create a shortcut on the desktop, according to the methods described in the article about the usual launch of the command line in Windows 10. Next, press the right mouse button and select "Run as administrator".

Command Line Execution via Utilities-Windows

To execute the command line, open the Start menu - Windows Tools - Command Prompt, then right-click "Advanced" - "Run as administrator".

Calling the Windows 10 command line through the "Task Manager"

To call the command line in the "Task Manager", open the "File" tab, the item "Run a new task", in the window that opens, enter "CMD", check the box "Create a task with administrator rights" and click the "Ok" button.

Opening cmd from windows explorer

The advantage of this method is that the path in the opened "cmd" window will correspond to the path to the folder. Opening the command line from the explorer menu: "File" - "Open command line" - "Open command line as Administrator".

Epilogue on how to open Cmd

As you can see, there are more ways to open the command line in Windows 10 and it is difficult to single out or choose definitely some convenient option. Each method is interesting in some way, so you choose, dear users. Don't forget to leave a comment on the post and like if it was helpful to you!

The command line in any version of windows is a very important and sought-after attribute. If you have ever done network configuration of a computer, you should be familiar with it. Despite the fact that some ways to call the command line are the same for all versions of Windows, many users have a question about how to call the command line in windows 10? This will be discussed in this article.

Ways to call the command line in Windows 10

There are several ways how you can start the command line. In this article, 3 of the simplest and fastest will be considered.

Command Prompt in Windows 10

Method 1 - Through the search

In Windows 10, right next to the start menu, there is a search icon in the form of a magnifying glass. This is a search. With it, you can find and open the command line.

To do this, click on this icon, and in the window that opens, type " Command line«.

Launch via Windows 10 search

In the search results, click on the command line icon and select " Run as administrator«.

This will launch Command Prompt in Windows 10.

Method 2 - Through the start menu

To call the command line in Windows 10 through the start menu, just right-click on it and select " Command Prompt (Administrator)".

Launch via the context menu "Start"

Method 3 - Through the "Run" command

This method suggests using the "Run" command. To do this, you need to call a special window with the key combination " Win++R«.

The combination of the "Win" + "R" buttons on the keyboard

In the window that opens, type " cmd«.

Why is it better to run the command prompt as an administrator?

The thing is that when configuring or configuring certain functions of the operating system, administrator rights may be required to make changes. And if you try to change something through the command line in normal mode, you simply may not have enough rights and the command you entered will not be executed.


The best way to thank the author of the article is to repost to your page

© 2022 hecc.ru - Computer technology news