我该如何修改它以使其能够搜索子目录?我尝试了一些不同的东西,但我似乎无法破解它?
set /p "folder=Folders Name that the photo's are in: "
setlocal
if "%folder%" == "" call :autodetect1
cls
for %%d in (c d e f g h i j k l m n o p q r s t u v w x y z) do (
if exist "%%d:\%folder%\" (
echo Device was found on %%d: && set folderfound=%%d:\%folder%\
) else (
echo Device was not found on %%d:
)
)