![](http://jakob.engbloms.se/wp-content/uploads/2019/04/windows-10-box.png)
For some reason, Microsoft has decided to hide some decidedly useful features in Windows 10 explorer behind the non-intuitive and rather unknown “shift-key + right-click” combination.
Copy path to file
To get the path to a file, do shift-right-click on the file and select “copy as path”:
![](http://jakob.engbloms.se/wp-content/uploads/2019/04/2019-04-14_15-54-56-1024x625.png)
Open command prompt
To open either the standard old Windows command prompt or the new fancy PowerShell, in a certain location: shift-right-click on the background of the folder and select “Open PowerShell window here” (or “Open Command Prompt here”).
![](http://jakob.engbloms.se/wp-content/uploads/2019/04/2019-04-14_16-03-04-1024x685.png)
To select between classic command prompt and PowerShell, there is an option in the settings that do not actually mention this particular way of opening the shell:
![](http://jakob.engbloms.se/wp-content/uploads/2019/04/2019-04-14_16-07-22-1024x613.png)
The only gripe I have with this feature is that it requires you to find an empty spot in the window… which is not all that easy when looking a folder with a lot of files in list or details mode.
But then there is the second way to get to “Open command prompt”: use shift-right-click on a folder to get a new shell located in that folder.
![](http://jakob.engbloms.se/wp-content/uploads/2019/04/2019-04-14_16-28-25.png)