@rem http://www.99-bottles-of-beer.net/ @Set num=99 @Set tail=s :again @Echo %num% bottle%tail% of beer on the wall, %num% bottle%tail% of beer. @Set /a num=%num%-1 @IF %num%==0 goto zero @IF %num%==1 @Set tail= @Echo Take one down and pass it around, %num% bottle%tail% of beer on the wall. @goto after :zero @Echo Take one down and pass it around, no more bottles of beer on the wall. @Echo. @Echo No more bottles of beer on the wall, no more bottles of beer. @Echo Go to the store and buy some more, 99 bottles of beer on the wall. :after @Echo. @IF %num%==0 goto :EOF @goto again