Misc : Batch File
VBS File
VBS can do everything that Batch-Files can do and more.
part1.vbs
init
sub init
MsgBox "Hello World"
end sub
Batch FIle
A batch file is simple to write and run. Its a list of several commands that are executed when double-click the file.
robsDemoBatchFile.bat
::Robs Super Awesome Batch File
::turn off printing of everythig
ECHO OFF
ECHO Hello World
:: Check if robpowers.net is reachable
::ping robpowers.net
:: Run a traceroute to check the route to Google.com & print results to text file
tracert google.com >> results.txt
::Without this it just closes
PAUSE
Reference
https://www.howtogeek.com/263177/how-to-write-a-batch-script-on-windows/
https://mintywhite.com/software-reviews/customization-software/batfiles/