Using a counter in a for loop
Von: Thomas Steinbach (steinbach@gmx-topmail.de) [Profil]
Datum: 30.10.2009 12:05
Message-ID: <hcei2l$9cs$03$1@news.t-online.com>
Newsgroup: alt.msdos.batch.nt
Datum: 30.10.2009 12:05
Message-ID: <hcei2l$9cs$03$1@news.t-online.com>
Newsgroup: alt.msdos.batch.nt
Hello, I would like to use a var to set the the number of loops in a for statement. Something like: set COUNT=3 FOR /L %%i% IN (0,1,%COUNT%) DO ( [...] ) but the var COUNT does not have the behavior which I supposed How can I use that var in such a foor loop? Thomas[ Auf dieses Posting antworten ]
