@echo off
if not [%1]==[] goto loop
call %0 z y x w v u t s r q p o m n l k j i h g f e d c
goto end
:loop
if %1#==# goto end
if exist %1:\nul set lastdrive=%1
if exist %1:\nul goto findout
shift
goto loop
:findout
echo Find last drive is %lastdrive%:
echo.
:end |
|