for %%a in (B C D E F G H I J K L M N O P Q R S T U V W) do ( cd %%a: if not errorlevel 1 eject %%a:)