@echo on
for %%a 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 %%a:\nul (
if exist %%a:\...\nul (
...
if exist %%a:\...\... (
...
) else (
...
)))else (
goto mg
))
:mg
dir
试过会出现
Bad command or file name
for %%a 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 %%a:\nul (
if exist %%a:\...\nul (
...
if exist %%a:\...\... (
...
) else (
...
)))else (
goto mg
))
:mg
dir
试过会出现
Bad command or file name
