Category : Files from Magazines
Archive   : VOL10N18.ZIP
Filename : CNT.BAT

 
Output of file : CNT.BAT contained in archive : VOL10N18.ZIP
[[CNT.BAT]]®MDNM¯


@echo off
REM CNT.bat to demonstrate
REM CHANGEJ.bat
REM =========================
for %%v in (U T H) DO set %%v=0
cls
echo This routine counts from 1 to
echo 12 and then backwards from 12
echo to 1. This is achieved using
echo DOS statements only. It sets
echo a variable J which may be used
echo for stack-handling. The range
echo of J is 000 thru 999, but can
echo be enlarged easily.
echo.
echo Hit any key to go on ...
pause >nul
cls
:INCR
CALL changej 0 U
echo %J%
if not %J%==012 goto INCR
:DECR
CALL changej 9 U
echo %J%
if not %J%==001 goto DECR
:Z
for %%v in (U T H J) DO set %%v=



  3 Responses to “Category : Files from Magazines
Archive   : VOL10N18.ZIP
Filename : CNT.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/