In my video explaining Ninja-updater. I show on screen my custom menu item on right click on a zip file called “Send to Personal WP Repo.”
In this post, I am going to show you how I achieved this and also some of the workings behind it, so firstly this is all done locally on my machine I have a folder stored in my case on a section partition of my main drive in a folder called repo.
I then have a BAT script, which can be seen below, which copies the zip file selected when it runs from one location to another so its within the correct folder of that repo directory
So a BAT file is what this contextual menu runs; below is a picture of the contextual menu what you can’t see in the screenshot is the separator above and below as the highlight box covers them

To get this to work, I have created a registry addition to my Windows registry and downloaded the following icon into my local pathed directory, and the registry edit for that is below
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Sent to Personal WP Repo]
"Icon"="\"C:\\0. PATHED Items\\repo-push.ico\""
"SeparatorBefore"=""
"SeparatorAfter"=""
[HKEY_CLASSES_ROOT\*\shell\Sent to Personal WP Repo\command]
@="\"C:\\0. PATHED Items\\sent-to-wp-repo.bat\" \"%1\""
PHPOnce the transfer is complete, a different process takes over and uploads it to my personal repo online, and I will cover that in another article.