1
我在我的批處理文件中有一個for循環,通過文件夾循環。我想跳過特定的文件夾。我可以用IF語句來做到這一點,但更喜歡GOTO,就像我在下面展示的那樣。批處理文件轉到循環不工作
for /d %%F in (*) do (
if /i "%%F"=="Archive" goto nextFolder
REM do stuff here
:nextFolder
)
但上面給我的錯誤:
) was unexpected at this time