Language Windows NT Batch
Date: | 06/24/05 |
Author: | Kang Seonghoon (Tokigun) |
URL: | http://tokigun.net/en/ |
Comments: | 0 |
Info: | n/a |
Score: | (2.33 in 12 votes) |
@echo off rem ======================================== rem 99 Bottles of Beer in Windows NT Batch rem by Kang Seonghoon (Tokigun), 2005-06-24. rem This program is in public domain. rem ======================================== set bottle=bottles set number=99 :loop echo %number% %bottle% of beer on the wall, echo %number% %bottle% of beer. echo Take one down, pass it around, set /a number=number-1 if "%number%"=="1" set bottle=bottle if "%number%"=="0" goto done echo %number% %bottle% of beer on the wall. echo. goto loop :done echo No more bottles of beer on the wall. echo on
Download Source | Write Comment
Alternative Versions
Version | Author | Date | Comments | Rate |
---|---|---|---|---|
Uses 2000- and XP-specific features | tester | 08/18/05 | 0 | |
2 | Frank-Peter Schultze | 09/24/05 | 0 |
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments