PowerToys Run | Folder Plugin: ~ for home directory doesn't handle relocated folders
Microsoft PowerToys version
0.77.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
PowerToys Run
Steps to reproduce
Relocate Desktop to another drive/location. Use ~\Desktop in PowerToys Run with Folder plugin enabled.
✔️ Expected Behavior
I expect ~\Desktop to work
❌ Actual Behavior
It doesn't; wants to do a web search
Other Software
No response
Hi @Hossy
This is the expected behavior that can be reproduced in Windows Explorer/PowerShell.
PowerShell interpret ~ as %USERPROFILE%.
Are you able to access these folders from Explorer/PowerShell? /needinfo
Are you able to access these folders from Explorer/PowerShell? /needinfo
I can in Explorer, but not in PowerShell. Trying using C:\Users\user\Desktop and Desktop was moved to D:\Users\user\Desktop. When doing it in Explorer, I enter C:\Users\user\Desktop and Explorer changes it to D:\Users\user\Desktop. Explorer also shows a Desktop folder icon when viewing C:\Users\user.
Woow! Didn't know this is worked in Explorer.
This is something that has always bothered me while working in PowerShell.