Windows: Incorrect userprofile path usage
See original GitHub issueA quick look into the debug log shows that ueli is not using the correct way to specify userprofile-related paths.
For example, if I set my Desktop under D:\Users\froyo\Desktop
, you won’t be able to find it via C:\Users\froyo\Desktop
.
(Edit: the next sentence is wrong:) The correct usage is %userprofile%\Desktop
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
%userprofile% is wrong - Microsoft Community
%userprofile% is wrong. After changing my username from Jerol to Jerold (using netplwiz) on Windows 10, and frebooting, %username% is Jerold BUT ...
Read more >windows - %USERPROFILE% variable not working - Super User
The %UserProfile% variable is a special system-wide environment variable that is complete in and of itself. It contains %SystemDrive%\Users\{username}.
Read more >store installer sets wrong path, as literal ';%USERPROFILE ...
Windows store installer for v1.0.1401.0 appends wrong value to path. ... it successfully if I use the full path at a prompt or...
Read more >How to Fix a Corrupt User Profile in Windows 10
If the SID key is listed without .bak, double-click the ProfileImagePath value name. Enter the correct path (C:\Users\username) of your user ...
Read more >How to Fix "User Profile Service Failed the Sign-in" Error for ...
After signing in to your computer on an incorrect user profile, start the Windows Run command option using Win + R and enter...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Feels like the ball is in nodejs’s court. @oliverschwendener I’m closing this
I see, Let me explain how ueli finds the desktop folder, Ueli calls
os.homedir
which will use windows’s%userprofile%
variable and that would return in your caseC:\Users\fabia
then Ueli adds\Desktop
to the end. Now, In your case what happens is Ueli uses powershell to list what’s in the Desktop folder at the path determined by the process above, and powershell reports that the given path doesn’t exist and that’s true.File Explorer keeps track of the known folders location somehow and redirects you correctly. The location of these folders can be accessed using native tools, but that would make the development harder than it should be, since Ueli only uses this folder as a default location for the application search plugin which can simply be removed by the user if causes issues.
Your situation is very specific to be honest and In my opinion, this doesn’t qualify to be a bug. The simplest solution for people who changed their Desktop folder location is simply removing it from the application search plugin and adding the correct path. You will have to set it up once and forget about it.