Planning to write a script to check if the internet is connected and if so download the newest version of a program to run it but if not run a version that I would like to include in the script once it is compiled. What would be the best way to accomplish this? I am unsure how I would include the program in the script and then check it to see if it is newer or older than the version on my server. I don't know alot about scripting but if someone can point me in a direction for how to setup the folder structure and how I can actually get the exe into my script I think I can make it happen. Thank you in advance for any help or advice you can provide.
↧