VBScript Download flag SVG files from a website
Visual Basic Script Here is a VBScript script to download flag SVG files from a website and save them in a directory Set xml = CreateObject(“MSXML2.ServerXMLHTTP.6.0”) Set fso = CreateObject(“Scripting.FileSystemObject”) Set shell = CreateObject(“WScript.Shell”) urlTemplate = “https://commons.wikimedia.org/wiki/Special:FilePath/Flag_of_{country}.svg” outputFolder = shell.CurrentDirectory & “\flags” countries = Array(“Afghanistan”, “Albania”, “Andorra”, “Angola”, “Antigua and Barbuda”, “Argentina”, “Aruba”, _ “Bahamas”, […]
VBScript Download flag SVG files from a website Read More »