Open Terminal or Powershell in Specific Folder
Here are the methods that helps you to open Powershell in a specific folder.
Method 1. Using File Explorer :
- Open File Explorer.
- Navigate to the folder where you want to open PowerShell.
- Click on the address bar to highlight the path.
- Type `powershell` and press Enter. This will open PowerShell in that folder.
Method 2. Using Keyboard Shortcuts:
- Press "Alt + D" to select the address bar in File Explorer.
- Type "powershell" and press Enter.
- PowerShell will open in the current folder.
Method 3. Using the Context Menu :
- Hold down the `Shift` key while you right-click on the folder or in an empty space within the folder.
- Select “Open PowerShell window here” from the context menu that appears.
Method 4. From the Run Dialog or Start Menu :
- Press `Win + R` to open the Run dialog, type `powershell`, and press Enter to open PowerShell.
- Navigate to your desired directory using the `cd` command. For example, `cd C:\Multiverse\Universe\Earth\Asia\Nepal`.
If you don't know the path of the folder, the navigate the folder using File Explorer and click on address bar and copy the path.
Method 5. Creating a Shortcut :
- Right-click on the desktop or in any folder where you want to create the shortcut.
- Choose New -> Shortcut.
- Type `powershell.exe` in the location box, and click Next.
- Name the shortcut and finish the wizard.
- Right-click the new shortcut, select Properties, and in the "Start in" box, enter the path of the folder you want PowerShell to start in.
Method 6.Using Alt key :
-Open File Explorer.
-Navigate the folder where you want to open Powershell.
-Press Alt key.
- Then press F, S and R one by one.
This will open powershell in that folder.
NOTE: These methods can also be used for CMD
