Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to fix long paths (Alternative to Long Path Tool) #36669

Open
Infinitay opened this issue Jan 2, 2025 · 0 comments
Open

Ability to fix long paths (Alternative to Long Path Tool) #36669

Infinitay opened this issue Jan 2, 2025 · 0 comments
Labels
Idea-New PowerToy Suggestion for a PowerToy Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams

Comments

@Infinitay
Copy link

Infinitay commented Jan 2, 2025

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.

  • Renaming the file
  • Renaming the file path itself (maybe even the specified (nested) folder(s)
  • Moving the file elsewhere

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.

@Infinitay Infinitay added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jan 2, 2025
@davidegiacometti davidegiacometti added the Idea-New PowerToy Suggestion for a PowerToy label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-New PowerToy Suggestion for a PowerToy Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams
Projects
None yet
Development

No branches or pull requests

2 participants