Rezolvare

Facem o bucla; tinem in variabila n numele curent, fara extensie. La fiecare iteratie adaugam o litera.

set n=a
:bucla
if exist %n%.txt copy %n%.txt c:\temp
set n=%n%a
if not %n%=aaaaaaaaa goto bucla


Fisiere de comenzi

9 Oct 2001
Radu-Lucian LUPSA