home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol12n01.zip
/
COUNT.BAT
next >
Wrap
DOS Batch File
|
1992-07-14
|
313b
|
9 lines
@ECHO OFF
REM COUNT.BAT - counts number of times it's executed
REM Requires file call_num., initially containing just
REM one line with the number 0. Requires file incr.,
REM containing just one line with the number 1.
COPY call_num. + incr. > NUL
FIND /c "1" call_num. > newcount.
TYPE newcount.