A good place to start on windows is by typing "help", and "for /?". I have written some incredibly complex scripts (batch files) that run on windows and do cool stuff. This forum is not the place to share them though.
A lot of people prefer newer scripting engines such as VBScript though, but DOS commands can be quite powerful when combined into a batch file.
There are some great tutorials out there to get you started. Google can be your friend there, especially if you turn off its "personalization" feature so it does not hide "new stuff" from your search results.