Ability to fix long paths (Alternative to Long Path Tool) #36669
Labels
Idea-New PowerToy
Suggestion for a PowerToy
Needs-Triage
For issues raised to be triaged and prioritized by internal Microsoft teams
Description of the new feature / enhancement
I'm expecting a feature that would allow users to more-easily fix issues that arise with having files (and folders?) with long paths.
Scenario when this would be used?
This would be very useful for when explorer breaks and you can't manually rename a file. Currently, I have a file with a long file name and I noticed now that I can't rename the file to be shorter because anytime I try to rename it, it reverts right back to the original file path. Inspecting the file properties shows that the location prefix is
\\?\G:
and looking into it seems to be because of a broken long file path.Supporting information
I tried doing
ren "\\?\G:\folder\folder 2\long-file-name" "new-file-name"
and I was able to finally rename the file. Would be nice if I could do this with PowerTools instead. Perhaps the tool can automatically find broken file paths inside a specified directory and attempt to rename the files for you with similar options to the file rename tool.The text was updated successfully, but these errors were encountered: