Add a Duplicate right click option to the right-click context menu on your windows computer to quickly copy and paste the selected files.
Version 2.0 Update: Folder duplication is now supported.
The script should be extracted to a folder to your system and then a registry entry should be added in order to appear on each file right click. The zip contains four files:
- The actual powershell script which is used to Duplicate the files
Duplicate_script.ps1
. - The icon which should be placed on the same folder with the ps file
duplicate.ico
- A registry merge file that helps add the necessary entries to the registry
Duplicate.reg
- A setup information file (inf) to automate the installation proccess
install.inf
There are three ways to setup this to your computer:
A. Auto configuration
- Download the latest release package https://github.com/limbo666/Duplicate_RightClick/releases.
- Extract the files to a temporary folder and open your file explorer to this folder
- Right-click the
install.inf
file and selectInstall
from the context menuTest by right-clicking a file and see if the "Duplicate" menu item is there and functioning.
B. Semi auto configuration (in case you want to use C:\Scripts\Duplicate_Menu\
for your script )
- Download the release package https://github.com/limbo666/Duplicate_RightClick/releases.
- Extract the files to
C:\Scripts\Duplicate_Menu\
- Double click the
Duplicate.reg
and accept the megre dialog when promptedINFO: In semi auto configuration the script and icon should be extracted to a specific folder which is
C:\Scripts\Duplicate_Menu\
and then run the reg file which points to this pathTest by right-clicking a file and see if the "Duplicate" menu item is there and functioning.
C. Manual configuration (in case you want to use your own path)
- Download the release package https://github.com/limbo666/Duplicate_RightClick/releases.
- Extract the files to a folder of your choice.
- Open the Registry Editor (Win + R, type regedit, press Enter)
- Navigate to
HKEY_CLASSES_ROOT\*\shell
. - Right-click on the shell key, select
New
>Key
, and name itDuplicate
. - Right-click the newly created Duplicate key, select
New
>Key
, and name itcommand
. - Select the command key, double-click the
Default
entry on the right, and enter the following line by replacing the path with your script location:powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\Toolz\Duplicate_Menu\Duplicate_script.ps1" "%1"
- Right-click on
Duplicate
shell key, selectNew
>String Value
, and name itIcon
- Double-click on the
Icon
entry, and set its value to the path of your icon file. For example:C:\Toolz\Duplicate_Menu\Duplicate.ico
Test by right-clicking a file and see if the "Duplicate" menu item is there and functioning.
- Navigate to
Enjoy