Page 1 of 1

script that opens program when connected ??

Posted: Thu Dec 22, 2016 3:03 pm
by 104zam88
Hi guys,

First, I'm sorry for my poor english, i'm french....

Here's my question :

I have already found a disconnect script that close a program when the VPN connection is lost (sparklabs official support page => https://www.sparklabs.com/support/kb/ar ... connected/ ), but i can't find any CONNECTION script that opens an .exe when the connection is established. Any chance for me that you guys write for me a few lines for such a script ? I dont have any programming knowledges and I'm not able to do it myself.

Thanks guys !!!

Re: script that opens program when connected ??

Posted: Fri Dec 23, 2016 9:18 am
by Eric
Hi 104zam88,

An example would be:

start C:\path\to\your\program.exe

Save that line to a batch script and set it as your connected script.

Regards,
Eric