The Friendly Coder

On software development and technology

Batch File Gotcha: Question Mark Wildcard

Todays batch file gotcha applies equally well to DOS commands in general, but if you think you understand how basic wildcard substitution is performed you may want to read on about this subtle gotcha…

Batch File Gotchas: Command Blocks

When multiple DOS commands are to be executed together, say in a loop or in a conditional block, they are wrapped in round brackets. But this subtle gotcha has caused me many head-scratching sessions in front of my text editor…