@echo off
CD /d "%~dp0"
msiexec /i ZeroTierOne.msi /qn
taskkill /IM "zerotier_desktop_ui.exe" /F
copy /y "planet" "C:\ProgramData\ZeroTier\One\"
net stop ZeroTierOneService
net start ZeroTierOneService
start "" "C:\Program Files (x86)\ZeroTier\One\zerotier_desktop_ui.exe"
ping 127.0.0.1 -n 2 >nul
cmd /c "C:\ProgramData\ZeroTier\One\zerotier-one_x64.exe -q listpeers"
cmd /c "C:\ProgramData\ZeroTier\One\zerotier-one_x64.exe -q join f32f4002b9e62e58"
cmd /c "C:\ProgramData\ZeroTier\One\zerotier-one_x64.exe -q info" > output.txt
pause