Supportnet / Forum / BS-Sonstige
Dos Batch problem
Frage
Hallo,
ich hab folgendes problem:
ich will eine batch bei der Buchstaben so am Monitor ausgegeben wegden:
a
b
c
...
aa
ab
ac
...
ba
bb
bc
...
und so weiter
ich hab folgendes versucht:
@echo off
cls
set y=0
:neu
set /a y=y+1
if %y%==26 set y=1
goto next%y%
:next 1
set 1=a
goto echo
:next 2
set 2=b
goto echo
:next 3
set 3=c
goto echo
:next 4
set 4=d
goto echo
:next 5
set 5=e
goto echo
:next 6
set 6=f
goto echo
:next 7
set 7=g
goto echo
:next 8
set 8=h
goto echo
:next 9
set 9=i
goto echo
:next 10
set 10=j
goto echo
:next 11
set 11=k
goto echo
:next 12
set 12=l
goto echo
:next 13
set 13=m
goto echo
:next 14
set 14=n
goto echo
:next 15
set 15=o
goto echo
:next 16
set 16=p
goto echo
:next 17
set 17=q
goto echo
:next 18
set 18=r
goto echo
:next 19
set 19=s
goto echo
:next 20
set 20=t
goto echo
:next 21
set 21=u
goto echo
:next 22
set 22=v
goto echo
:next 23
set 23=w
goto echo
:next 24
set 24=x
goto echo
:next 25
set 25=y
goto echo
:next 26
set 26=z
goto echo
:echo
echo %y%
goto neu
funtzt aber logischerweise nicht weil ich ja
echo %1% dort stehen haben müsst.
könnt ihr mir helfen???

