// description of your code here


FOR /L %G in (1,1,100) DO ECHO %G
FOR /R C:\temp\ %G IN (*.bak) DO del %G

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/yJx_HPnsEhI/13461