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

New Folder with Selection #3569

Open
mc2too opened this issue May 23, 2020 · 23 comments
Open

New Folder with Selection #3569

mc2too opened this issue May 23, 2020 · 23 comments
Assignees
Labels
Help Wanted We encourage anyone to jump in on these and submit a PR. Idea-New PowerToy Suggestion for a PowerToy Status-In progress This issue or work-item is under development

Comments

@mc2too
Copy link

mc2too commented May 23, 2020

Summary of the new feature/enhancement

Provide a means to select files then put them into a new folder created at the time the operation is executed.

Proposed technical implementation details (optional)

Essentially this is a Windows Explorer implementation of the similarly named function in (Apple's) macOS Finder. Effectively this is a reverse sequence of events from what is required in Windows Explorer currently.

Select files in Explorer. Right click and select from a context menu, or click a button on the toolbar to launch the operation. A new folder is created within the current folder one is in/viewing in Windows Explorer. Once the folder is named, the selected files are moved into that folder.

@crutkas edit
FROM #6405 by @zeealeid

"Hopper" — Easier way to create new folders from files located two or more locations.

Here's an idea for (potentially) a new PowerToy:
Introducing Hopper:

Imagine if you want to create a new folder containing files from two different locations. The process would take some time right?

But with Hopper, just hit a keystroke, select the files and drop them in the Hopper. Select the files from the second directory and drop them in the Hopper too.

User Dragging and Dropping a File from a directory to Hopper

User Dragging and Dropping a File from another directory

Then hopper would ask you a few questions about the name of the folder and it would ask, would the files be copied from the locations or be moved from the locations.

Hopper Asking Questions

Oh hello, new folder!

And voila! Here's your new folder!

@jyuwono jyuwono added the Idea-New PowerToy Suggestion for a PowerToy label May 26, 2020
@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented May 27, 2020

One way to do this already is to use the Move To button in the Explorer Ribbon. There you can create a new folder and move the files. So, would this actually be new..?

@mc2too
Copy link
Author

mc2too commented May 27, 2020

Ah yes... I had forgotten about that option.
My one comment would be that the current Move To... button functionality is... messy at best.
When I use that I am presented with a huge long list of folders - some of which seem to be sourced from the Quick Access menu - and others from somewhere else - so maybe they are memories of other recent Explorer window locations.
Regardless, the folder I am currently in is presented at the bottom of this list (and in my case I have to scroll down to it), and you cannot actually create a new folder at one of those locations - unless of your course you go for the "Choose Location..." option (again, at the bottom of the list) - and then suddenly you're into another interface, and again - it doesn't start in the folder you are currently working in in Windows Explorer.
In other words - the simplicity of selecting some files and moving them into a new folder (in your current folder) in one fell swoop is just not possible with the Move To... button.

@crutkas crutkas added this to the Suggested Ideas milestone Jun 11, 2020
@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Jul 4, 2020

I didn't say it was perfect. You're right about that.

The thing you ask for is like the WinRar method, right? Similar to the compressed folder in the shell:sendto menu. Maybe it is possible to add a menu-item that creates a normal folder in the current location?

@mc2too
Copy link
Author

mc2too commented Jul 6, 2020

Hi.
Not sure about the WinRAR method; I've not used that app.

The shell:sendto method may be appropriate; I used to have Gabriele Ponti's Send to Toys installed in the past (still available at http://www.gabrieleponti.com/software/) and it has some very useful functionality available from the right-click send to menu. Actually, I should try it out again... though my right click menu is already very full (mostly due to workplace required apps).

Some of what is offered in Send to Toys (v2.7.2) is available in the current Windows Explorer... sort of.

Regardless, still not quite the simplicity of what is offered with the Apple finder function of selecting some files, then invoking the "new folder with selection" option.
image

@mc2too mc2too closed this as completed Jul 6, 2020
@mc2too
Copy link
Author

mc2too commented Jul 6, 2020

didn't mean to close the comment.

@mc2too mc2too reopened this Jul 6, 2020
@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Jul 7, 2020

Maybe the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.newfolder key in the registry can be of some help? If somebody knows how to translate this into a (executable/batch) file of some sorts?

UPDATE I decided to make this myself and used AutoIt ("a freeware BASIC-like scripting language", www.autoitscript.com) and created an .exe file (1MB including ico file), directly in the SendTo folder*. It uses the selected files as internal command line parameters (or the other way around). Then it prompts a name, by means of an InputBox. Then it creates the folder (@WorkingDir & new name) and moves the files. Bloody thing worked at the first go!! 😁

I wouldn't mind sharing the exe file with y'all, but anti-virus programs (including MS Defender) keep - incorrectly - treating exe's that are created with AutoIt as trojans and/or other malware, and I don't wanna bother you guys with that.

@mc2too
Copy link
Author

mc2too commented Jul 7, 2020

Awesome!
It's been soooo long since I did any coding/scripting...

@daslicht
Copy link

daslicht commented Sep 29, 2020

i made a small electron app for this purpose :) but build in the os as in macOS would be much better .
These are the lil tiny things why people prefer macOS over Windows, and this is just one of many

@dogancelik
Copy link
Contributor

dogancelik commented Oct 9, 2020

New folder with selection

Since nobody has mentioned it, TeraCopy 3 (free) has this feature.

PowerToys should have it too IMO.

@daslicht
Copy link

New folder with selection

Since nobody has mentioned it, TeraCopy 3 (free) has this feature.

PowerToys should have it too IMO.

awesome , and even this : looks very useful:
https://www.codesector.com/directfolders

@daslicht
Copy link

One feature on windows i miss a lot (from macOS) is the ability to drag a folder or file on file open / save dialog.
In Windows, ERxplorer would copy teh dragged file, under macOS it just navigates to the folder.
Much fatser than copy / pase a link to navigate to a destination

@Jay-o-Way
Copy link
Collaborator

xref: #6405

@im3or
Copy link

im3or commented Jan 22, 2021

I didn't know teracopy 3 had this option, i use v2.3 so. For this 'new folder with selection' i've been using a little piece of shell extension software for years since vista. Fortunately it works well with windows 10 as well. Can't live without this as i am a photographer & i create hundreds of folder a day. Here: Files 2 Folder

@Jay-o-Way
Copy link
Collaborator

PowerToys should have it too IMO.

Frigging WINDOWS should have this! 😒

@UmarAhmed129
Copy link

@Jay-o-Way Can you please share the autoitscript you created to enable 'new folder with selection' feature. Would love to install it.

@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Mar 23, 2022

@Jay-o-Way Can you please share the autoitscript you created to enable 'new folder with selection' feature. Would love to install it.

You're free to try it, but it's far, far from ideal: NewFolder.zip

@UmarAhmed129
Copy link

UmarAhmed129 commented Mar 24, 2022

@Jay-o-Way Thank you ... I unzipped it using 7Zip to a folder called NewFolder inside which is an New Folder.exe when I double click it, a message pops up saying No parameters/file available Exit. How do I use it?

@Jay-o-Way
Copy link
Collaborator

Jay-o-Way commented Mar 24, 2022

@Jay-o-Way Thank you ... I unzipped it using 7Zip to a folder called NewFolder inside which is an New Folder.exe when I double click it, a message pops up saying No parameters/file available Exit. How do I use it?

Place the exe inside your shell:SendTo folder. When you have selected a number of files, right-click and look for it in the "Send To" menu.
The au3 file is text based, so you can see how it is built.

@UmarAhmed129
Copy link

@Jay-o-Way Thank you ... I unzipped it using 7Zip to a folder called NewFolder inside which is an New Folder.exe when I double click it, a message pops up saying No parameters/file available Exit. How do I use it?

Place the exe inside your shell:SendTo folder. When you have selected a number of files, right-click and look for it in the "Send To" menu. The au3 file is text based, so you can see how it is built.

It works!!! ... Thank you so very much.

@Jay-o-Way
Copy link
Collaborator

@Aaron-Junker is this still in progress?
To all: Files actually has this function implemented. Works well!
image

@Aaron-Junker
Copy link
Collaborator

@Aaron-Junker is this still in progress?
To all: Files actually has this function implemented. Works well!
image

@Jay-o-Way Yes. Currently working with @crutkas on making a good interaction model.

@Jay-o-Way Jay-o-Way moved this from To do to In Progress ⚒️ in Test for PowerToys Nov 13, 2023
@github-project-automation github-project-automation bot moved this to ⚠️Needs Walkthrough in 3. Help Wanted Mar 22, 2024
@Aaron-Junker Aaron-Junker moved this to ⚒️In progress in 1. Current/Upcoming Releases Oct 9, 2024
@Aaron-Junker Aaron-Junker moved this from ⚒️In progress to 📑In Review in 1. Current/Upcoming Releases Oct 9, 2024
@cinnamon-msft cinnamon-msft removed this from the PowerToys 0.86 milestone Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted We encourage anyone to jump in on these and submit a PR. Idea-New PowerToy Suggestion for a PowerToy Status-In progress This issue or work-item is under development
Projects
Status: 📑In Review
Development

No branches or pull requests