17
You can use the FOR command with the /r switch, which will walk the directory tree executing whatever you specify in the DO statement on each directory. There you can nest another FOR statement, using a dir /b *.* in the SET block.