Wormhole on Windows

Install Python to C:\Python3 (Location is important)

Install Magic Wormhole, In a terminal as administrator type

pip install --upgrade magic-wormhole

That is all you need to do to have wormhole installed, but now to make it really useful, here are a few helper scripts and registry modifications that will allow you to send any file or folder from the file explorer and to be able to receive a file in any folder.


Create file C:\Python3\Scripts\wormhole-receive.bat

@echo off
cd %*
C:\Python3\Scripts\wormhole.exe receive

Create file C:\Python3\Scripts\wormhole-send.bat

@echo off
C:\Python3\Scripts\wormhole.exe send %*

Import the registry edits for right click context menus

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Wormhole Receive]

[HKEY_CLASSES_ROOT\Directory\shell\Wormhole Receive\command]
@="C:\\Python3\\Scripts\\wormhole-receive.bat \"%v\""

[HKEY_CLASSES_ROOT\Directory\shell\Wormhole Send]

[HKEY_CLASSES_ROOT\Directory\shell\Wormhole Send\command]
@="C:\\Python3\\Scripts\\wormhole-send.bat \"%v\""

[HKEY_CLASSES_ROOT\Directory\Background\shell\Wormhole Receive]

[HKEY_CLASSES_ROOT\Directory\Background\shell\Wormhole Receive\command]
@="C:\\Python3\\Scripts\\wormhole-receive.bat \"%v\""

[HKEY_CLASSES_ROOT\Directory\Background\shell\Wormhole Send]

[HKEY_CLASSES_ROOT\Directory\Background\shell\Wormhole Send\command]
@="C:\\Python3\\Scripts\\wormhole-send.bat \"%v\""

[HKEY_CLASSES_ROOT\*\shell\Wormhole Send]

[HKEY_CLASSES_ROOT\*\shell\Wormhole Send\command]
@="C:\\Python3\\Scripts\\wormhole-send.bat \"%v\""