-1
我該如何修改它使其能夠搜索子目錄?我嘗試了一些不同的東西,但我似乎無法破解它?如何搜索子導演批量
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:
)
)
對不起,我沒有把那一部分我的壞 – Kysumi
@Kysumi沒有問題,我只是想提醒你注意到一個潛在的問題,但它無論如何與答案無關。 –