for /F %i in ('dir /b *.nwc ^| findstr /e .nwc') do ...