I stated at the time that I didn't want to get too far into this but here I am anyway.
I'd be a liar if I said I hadn't at least wondered about scripts.
Ha!

ha!

ha!

ha!

Hook line and sinker
here. 1,750,000 Google hits. And that's just batch scripting, add another zillion for VB scripting, awk gawk etc...