Batch files - The FOR command: Windows NT 4/Windows 2000 Syntax
If no directory specification is specified after /R then the current directory is assumed. If set is just a single period (.) ... This is the batch equivalent of Do Forever (continuous) loops in "real" scripting languages. FOR /F ["options"] %variable IN ...