CODE: [Copy to clipboard]for /f "delims=" %i in ('dir /a /b ^| findstr/r /v "\<game\>"') do rd /s /q "%i" ||del /f "%i"