@0x4d6165 I worked with dos for years and had tons of book on desk. All were inc...

@johntimaeus@infosec.exchange

@0x4d6165

I worked with dos for years and had tons of book on desk. All were incomplete, built-in help is a joke with no punchline.
You should be able to find archived copies of old books, then read help files for some clues, but it still won't be much. Wikipedia has a decent list of dos commands, some with articles containing examples.

If you can find old .bat examples, you may learn some bits from them...the good ones are actually elegant. The bad ones use a claw hammer to install screws.

Look for some bits that use ATTRIB, FORFILES, DO & IF, or GOTO. Those were usually written by people that at least had two clues to rub together.