files-community / Files

Building the best file manager for Windows
https://files.community
MIT License
32.96k stars 2.1k forks source link

Feature: Allow creating sub folders with `/` in new folder dialog #15745

Open D-Maxwell opened 2 days ago

D-Maxwell commented 2 days ago

What feature or improvement do you think would benefit Files?

It would be great if, rather than displaying a warning meant to prevent one from entering a folder name containing folder separation characters, Files could instead parse the inputted string and create nested folders as needed.

Requirements

Given how the batch command mkdir already features support for this, a potential solution could be to simply call it and pass the string as an argument.

Files Version

3.5.0.0

Windows Version

10.0.19045.2788

Comments

I do not understand why this wasn't chosen over the implementation of an entire warning popup, although that is certainly better than what happens when forward slashes are part of the string, where, instead of displaying the aforementioned popup, it will simply grey out the confirmation button without any explanation.

Josh65-2201 commented 20 hours ago

Thanks for the feedback, I've added this to the project board. As for your comment the reason it shows a prompt is because it not allowed in a name along with the other characters shown in the warning and it wasn't though of to do.