What do you guys actually use batch files for?
Okay, so long-story-short I've recently started an apprenticeship with a school as you might expect, that's involved delving into the Command Line more than I've previously done (the extent of my pre-apprenticeship CLI usage was mostly limited to ipconfig) - which has in turn gotten me somewhat inrigued into scripting.
I knew batch files existed but never really bothered with them until now, and using a few sites online that list commands, combined with a little intuition (and trial-and-error logic) I've so far coded two batch files..
One's a script that Y/N promps to back up E:\ drive (usb flash drive), if N is returned, it asks for a separate location to back up. It then creates date-named folders and xcopy's the files over.
The second's a (useless) script that asks for a number, starts at zero, and keeps adding 1 until it reaches that number. Admittedly I only wrote that one to discover if causing a coding loop was possible.
So I'm just wondering what more experienced techies might use batch files for, out of interest. I've seen most scripts here are what might as well be Klingon, since (as of yet) I know no programming languages (although I might just give a bash at learning one)