home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT103B.ZIP / PDAILY.COM / PDAILY.DOC next >
Text File  |  1987-01-02  |  3KB  |  114 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.                        Support BBS --  Patriquin's BBS
  31.                                        714-369-9766 (DATA)
  32.  
  33.  
  34.  
  35.  
  36.                        Copyright 1986 by Norm Patriquin
  37.  
  38.  
  39.                                                                 Page  1
  40.  
  41.       What is PDAILY
  42.       --------------
  43.  
  44.       PDAILY allows the user to execute a set of DOS commands on a
  45.       once per day basis.  It is most useful for customizing your
  46.       daily system startup procedure to perform some selected
  47.       functions the first time the system is started each day and
  48.       and to bypass them if the system is started again the same day.
  49.  
  50.       The system was developed to remind me of my daily planning
  51.       tasks once each day.
  52.  
  53.       PDAILY works in conjunction with the DOS ERRORLEVEL batch
  54.       command facility.  The following statements show how selected
  55.       commands are executed once per day.
  56.  
  57.  
  58.       Example:
  59.       --------
  60.  
  61.          ECHO OFF
  62.          PDAILY
  63.          IF NOT ERRORLEVEL GOTO NOTNOW
  64.          PLANNER
  65.          DEL *.BAK
  66.          BACKUP *.* A:/A
  67.          :NOTNOW
  68.          MENU
  69.                                                                 Page  2
  70.       Command Parameters:
  71.       -------------------
  72.  
  73.       PDAILY allows several command parameter switches to be specified
  74.       to customize the process.  All these parameters are optional.
  75.       The command format and switch parameters are described below.  A
  76.       quick review of command parameters is always available by
  77.       entering the PDAILY command with the /H parameter.
  78.  
  79.  
  80.       COMMAND FORMAT:
  81.  
  82.       PDAILY  [logfilename] (/ switches)
  83.  
  84.         logfilename  You may optionally specify the alternate name
  85.                    of a log file PDAILY is to use.  This is a zero
  86.                    length file that is used to keep the current
  87.                    PDAILY staus.
  88.  
  89.                    This feature is useful to keep PDAILY status for
  90.                    more than one event or activity.  Use a different
  91.                    logfilename for each PDAILY event controlled.
  92.  
  93.                    If not specified, PDAILY.DAT is used.
  94.  
  95.  
  96.         /H         Display help about PDAILY
  97.  
  98.  
  99.         /N         Return the proper ERRORLEVEL command but do not
  100.                    change it.  Running PDAILY again will produce the
  101.                    same ERRORLEVEL the next time it is run, even the
  102.                    same day.
  103.  
  104.  
  105.         /R         Reset PDAILY status from "already done today" to
  106.                    "not yet done today".  Next time PDAILY is run
  107.                    it will indicate the commands are to be executed
  108.                    again.
  109.  
  110.  
  111.         /T         Print status messages to indicate what ERRORLEVEL
  112.                    PDAILY has set.
  113.  
  114.