mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
We were being too clever with `\`; and yet simultaneously not clever enough. * When we saw `c:\users`, we'd treat that as a path with a Title `users\` * but when we saw `c:\users\`, we'd fail to find a file name, and the just treat the name as `\`. That was dumb. * And we'd add trailing `\`'s even if there already was one. * But then if the user typed `c:\users`, we would immediately start enumerating children of that dir, which didn't really feel right This PR fixes all of that. Closes #40797