B
B
Beka Kuzya2020-10-15 19:06:25
VPN
Beka Kuzya, 2020-10-15 19:06:25

How to run Hotspot Shield from bat?

Tell me how to run Hotspot Shield with bat? It is necessary that it connects to different servers at startup. It would be great if from the previously designated list.

For example, NordVPN needs such a batch file.

@echo off
cd "C:\Program Files\NordVPN\"
set MIN=1
set MAX=1
set /a RND=MIN+(MAX-MIN+1) * %random%/32768
if %RND%==1 nordvpn -c -g "United States"
if %RND%==2 nordvpn -c -g "France"
if %RND%==3 nordvpn -c -g "Germany"
if %RND%==4 nordvpn -c -g "Canada"
if %RND%==5 nordvpn -c -g "Italy"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question