dann wohl eher so:
set i=0
:nochmal
IF %i% LSS 10 (
explorer
set /a i = i++1
goto nochmal
) ELSE (
goto ende
)
:ende
in diesem fall wird explorer 10 mal geöffnet
wenn die datei fragen soll wie oft geöffnet wird dann so:
set /p zahl=Wie oft soll Explorer geöffnet werden?:
set i=0
:nochmal
IF %i% LSS %zahl% (
explorer
set /a i = i++1
goto nochmal
) ELSE (
goto ende
)
:ende