Three Files To Go, Please

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:


  1. 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.
  2. 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%)"
  1. Next, press the Windows Key + R. Type shell:sendto into the field and press Enter.
  2. 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.
  3. 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!

Published by eranboudjnah

A software consultant and tech lead. Passionate about optimizing as many aspects of my life as possible, to free time for what really matters.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: