microsoft / microsoft/PowerToys
PowerRename exits when it reaches an html file with connected folder
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
0.98.1
### Installation method
PowerToys auto-update
### Area(s) with issue?
PowerRename
### Steps to reproduce
Given a folder with files `a_page.html`, `b_page.html`, and `c_page.html`, plus a folder `b_page_files`.
Use PowerRename to try to add `_new` to the ends of the filenames.
### ✔️ Expected Behavior
PowerRename should rename all the files it can and give you a error message about the ones it didn't rename.
Context:
It's normal for Explorer to pop up a warning when you try to manually rename an `htm`/`html` file with a "connected" folder (one with the same filename, but ending in `_pages` instead of `.htm`/`.html`.
If possible, PowerRename should give the user the option to rename such files anyway.
### ❌ Actual Behavior
PowerRename thinks it succeeded.
But it actually stopped renaming files once it got to `b_page.html`.
Here's the portion of the PowerRename log file from my bug recreation.
[\[2026-04-13 200430.844638\] \[p-5324\].txt](https://github.com/user-attachments/files/26693151/2026-04-13.200430.844638.p-5324.txt)
### Upload Bug Report ZIP-file
_No response_
### Additional Information
Windows 11 Pro, version 25H2
.NET version 8.0.11
### Other Software
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.