Skip to content

A right click "Duplicate" context menu item for windows. Intented for those who are tired to copy and paste in the same folder to duplicate files

Notifications You must be signed in to change notification settings

limbo666/Duplicate_RightClick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Duplicate Right-click option

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.

Untitled-1

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:

  1. The actual powershell script which is used to Duplicate the files Duplicate_script.ps1.
  2. The icon which should be placed on the same folder with the ps file duplicate.ico
  3. A registry merge file that helps add the necessary entries to the registry Duplicate.reg
  4. 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

  1. Download the latest release package https://github.com/limbo666/Duplicate_RightClick/releases.
  2. Extract the files to a temporary folder and open your file explorer to this folder
  3. Right-click the install.inf file and select Install from the context menu

    Test 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 )

  1. Download the release package https://github.com/limbo666/Duplicate_RightClick/releases.
  2. Extract the files to C:\Scripts\Duplicate_Menu\
  3. Double click the Duplicate.reg and accept the megre dialog when prompted

    INFO: 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 path

    Test 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)

  1. Download the release package https://github.com/limbo666/Duplicate_RightClick/releases.
  2. Extract the files to a folder of your choice.
  3. 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 it Duplicate.
    • Right-click the newly created Duplicate key, select New > Key, and name it command.
    • 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, select New > String Value, and name it Icon
    • 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.

Enjoy

About

A right click "Duplicate" context menu item for windows. Intented for those who are tired to copy and paste in the same folder to duplicate files

Resources

Stars

Watchers

Forks