If you can find a copy: “Windows NT Shell Scripting” by Tim Hill. While some commands options have changed in Windows XP and newer, all the concepts are the same.
From Microsoft Press: “Administrator’s Pocket Consultant: Microsoft Windows Command-Line” which covers Windows XP versions of the commands and some VBScript.
An item to review is WMIC which is a command line tool to the WMI interface.
Here’s a website:
Introduction to the Command Prompt.