REM register PSPad shell extension
REM run CMD as administrator
regsvr32.exe /s %~dp0..\pspshellx64.dll
powershell -NoProfile -Command "Add-AppxPackage -Path '%~dp0..\pspshellx.msix' -ExternalLocation '%~dp0..\'"

Rem Restart explorer to make changes available
taskkill /F /IM explorer.exe
start explorer.exe
