Batch script to connect to random VPN on PC start

I used ChatGpt and my limited knowledge of batch scripting to make a .bat that connects to a random VPN on PC start.

  • Place the .bat file in PIA directory
  • Create a shortcut in Startup directory

Only tested on Windows 10.

Interesting idea. Although I have no use for this, isn’t it amazing what chatgpt can do?
I have a remote ftp NVR backup machine my NVR copies all videos to and the problem was the NVR ftp server would just keep sending video files until the NVR backup machine was full and then it would stop sending new videos. I asked chatgpt to write me a bach script that would scan the video folder on my NVR backup machine and if total disk usage got above a predefined amount it would delete they oldest files in that folder until the disk usage dropped enough.

Hey OP, good thought.

Indeed, ChatGPT is the nerdy friend that we were always missing. I use ChatGPT to design websites and to make similar scripts that make my PC experience even better.

Ha, I have had ChatGPT write a script for exactly the same purpose! Works perfectly.