I use very frequently the trick of putting cmd
or powershell
in the file explorer location to start a new console at the same path as the file explorer.
However, I cannot start PowerShell with that trick anymore. When I try to input powershell
, it open the following directory instead of opening a console : C:\Users\{username}\Documents\PowerShell
.
Deleting the PowerShell
folder "fixes" the issue. My guess is that, by default, if a folder in Documents
has the same name as what you type in the location bar, it will open that folder.
So my question is : how can I disable this behavior ? So that I can have a PowerShell
folder in Documents
and still launch PowerShell from the location bar.
@harrymc
for me to be notified.)C:\Users\{username}\Documents\PowerShell
folder actually "solve" the issue. However it is bothering to no be able to have user specific PowerShell module at this location.