I recently switched from a MacBook to a Windows laptop. There were a few Mac features I really liked and was missing on Windows.
One such feature is the ability to select multiple files, right click them and move them to a new folder. If you want this functionality on Windows, it's your lucky day!
With a few steps, you can add a "Send to New folder" context menu option to your Windows Explorer. Ready? Here we go:
- Create a new text file anywhere. I created mine under
C:\Program Files - but anywhere would do. Name the file Send To New folder.cmd. - Open the file in Notepad (or your favorite editor) and paste the following in:
@echo off cd /D "%~dp1" setlocal EnableDelayedExpansion set "baseName=New Folder" set "n=0" for /f "delims=" %%F in ( '2^>nul dir /b /ad "%baseName% *."' ) do ( set "name=%%F" set "name=!name:*%baseName% (=!" if !name! gtr !n! set "n=!name!" ) set /a n+=1 md "%baseName% (%n%)" set argCount=0 for %%x in (%*) do ( set /A argCount+=1 set "argVec[!argCount!]=%%~x" ) for /L %%i in (1,1,%argCount%) do move "!argVec[%%i]!" "%baseName% (%n%)" explorer /select,"%baseName% (%n%)"
- Next, press the
Windows Key + R. Type shell:sendto into the field and press Enter. - Drag the
Send To New folder.cmd file you created earlier to the newly opened folder while holding the Alt key. This will create a shortcut in your Send To context menu. - Rename the newly created shortcut to
New folder.
That's it! Now, to move files to a new folder, select them in Windows Explorer. Right-click, then select Send to -> New folder. Voila!
No comments:
Post a Comment