Category : Utilities for DOS and Windows Machines
Archive   : RUNONCE.ZIP
Filename : RUNONCE.DOC
Output of file : RUNONCE.DOC contained in archive : RUNONCE.ZIP
RUNONCE.EXE -- a program to support executing programs only on the
first computer boot of the day.
RunOnce keeps a data file, RUNDATE.111, containing the date it
was last executed. If the date in the file is other than the current
date, RunOnce writes today's date to the file, and returns an errorlevel
of 0. If the date in the file is today's date, RunOnce leave the
file unaltered and returns an errorlevel of one.
By running RunOnce, and then testing the errorlevel, the autoexec
or any other batch file can branch around programs that only need
to be run once on any given operating day:
runonce
if errorlevel 1 goto DoneBefore
c:\utils\norton\fr c: /save
c:\utils\norton\fr d: /save
:DoneBefore
An environment variable, RUN1DATA, allows the user to specify the
location of the data file. If RUN1DATA isn't found in the
environment, first the current directory and then the path are search to
find the file. RUN1DATA should contain only the path to the file,
with no trailing '\', e.g.,
set run1data=c:\utils
RunOnce returns an error code of 255 for any error.
*************************************************************/
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
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/