home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 02a / pdaily.zip / PDAILY.DOC next >
Text File  |  1986-10-14  |  3KB  |  111 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.                                   P D A I L Y
  17.  
  18.                                        by
  19.  
  20.                                  Norm Patriquin
  21.  
  22.  
  23.  
  24.                                    Version 1.0
  25.                                    October 1986
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.                        Copyright 1986 by Norm Patriquin
  34.  
  35.  
  36.                                                                 Page  1
  37.  
  38.       What is PDAILY
  39.       --------------
  40.  
  41.       PDAILY allows the user to execute a set of DOS commands on a
  42.       once per day basis.  It is most useful for customizing your
  43.       daily system startup procedure to perform some selected
  44.       functions the first time the system is started each day and
  45.       and to bypass them if the system is started again the same day.
  46.  
  47.       The system was developed to remind me of my daily planning
  48.       tasks once each day.
  49.  
  50.       PDAILY works in conjunction with the DOS ERRORLEVEL batch
  51.       command facility.  The following statements show how selected
  52.       commands are executed once per day.
  53.  
  54.  
  55.       Example:
  56.       --------
  57.  
  58.          ECHO OFF
  59.          PDAILY
  60.          IF NOT ERRORLEVEL GOTO NOTNOW
  61.          PLANNER
  62.          DEL *.BAK
  63.          BACKUP *.* A:/A
  64.          :NOTNOW
  65.          MENU
  66.                                                                 Page  2
  67.       Command Parameters:
  68.       -------------------
  69.  
  70.       PDAILY allows several command parameter switches to be specified
  71.       to customize the process.  All these parameters are optional.
  72.       The command format and switch parameters are described below.  A
  73.       quick review of command parameters is always available by
  74.       entering the PDAILY command with the /H parameter.
  75.  
  76.  
  77.       COMMAND FORMAT:
  78.  
  79.       PDAILY  [logfilename] (/ switches)
  80.  
  81.         logfilename  You may optionally specify the alternate name
  82.                    of a log file PDAILY is to use.  This is a zero
  83.                    length file that is used to keep the current
  84.                    PDAILY staus.
  85.  
  86.                    This feature is useful to keep PDAILY status for
  87.                    more than one event or activity.  Use a different
  88.                    logfilename for each PDAILY event controlled.
  89.  
  90.                    If not specified, PDAILY.DAT is used.
  91.  
  92.  
  93.         /H         Display help about PDAILY
  94.  
  95.  
  96.         /N         Return the proper ERRORLEVEL command but do not
  97.                    change it.  Running PDAILY again will produce the
  98.                    same ERRORLEVEL the next time it is run, even the
  99.                    same day.
  100.  
  101.  
  102.         /R         Reset PDAILY status from "already done today" to
  103.                    "not yet done today".  Next time PDAILY is run
  104.                    it will indicate the commands are to be executed
  105.                    again.
  106.  
  107.  
  108.         /T         Print status messages to indicate what ERRORLEVEL
  109.                    PDAILY has set.
  110.  
  111.