home *** CD-ROM | disk | FTP | other *** search
- Dolist:
-
- From the DOS promt :<path>dolist <dolist data file> <timestamp file>
-
- This program checks the <dolist data file> for text lines up to 70
- characters headed by presentation information and terminated by a CR,
- LF sequence. The header can take the following forms, and must be nine
- ascii characters long:
-
- "* " - Empty form.
- "ddmmyynnA" - Full form.
- "ddmm**nnB" - Annual form.
- "D031 " - Day of the week form.
-
- Where:
- % dd = day of month.
- % mm = month of year.
- * yy = two character year (ie '91 - [20]89)
- * ** = Generate warning on annual basis.
- % nn = Number of days before event to generate warning.
- ? A = Activate afer the specified date (Year and "days to run"
- are disabled). Exclusive of the specified date.
- ? B = Sound bell with this item.
- D031 = Day of the week in binary format
-
-
- % These must be present.
- * These two are mutually exclusive, and either must be in the string.
- ? These items, if present, will operate the required option and should
- be replaced with a space if not required.
-
-
- Empty form.
-
- This will generate the associated text anytime the program is run. This
- is ideal for reminders for items that are "to do" at no specific date
- but need constant reminders.
-
-
- Full / Annual Form.
-
- These forms generate a report if the header info is within the period
- of days, including the nnth day, from the date specified by ddmm. Note
- that the traditonal "/" seperator is not used or expected. If yy is
- present, which if not required, must be replaced by **, this will only
- generate one series of warnings leading upto the specified date. If the
- annual form is used, the warning will be generated every year whilst
- the item remains in the data file (such as birthdays).
-
-
- Day of the week form.
-
- Four ascii characters headed with a upper or lower case "D" followed
- with the string representation of the binary day/s the item is to be
- activated.
-
- 7 6 5 4 3 2 1 0
- | | | | | | | |
- | | | | | | | - Monday.
- | | | | | | ---- Tuesday.
- | | | | | ------- Wednesday.
- | | | | ---------- Thursday.
- | | | ------------- Friday.
- | | ---------------- Saturday.
- | ------------------- Sunday.
- ---------------------- Not used.
-
- A value of 031 = Week days (Mon - Fri).
- A value of 096 = Weekend days (Sat & Sun).
-
-
- Editing.
-
- A standard text editor is required to edit the file C:\DOLIST.DTA and
- must terminate with <header><text>, CR, LF, EOF sequence.
-
-
- Exiting.
-
- The program exits with the follow errorlevls
-
- 0 Successful exectution.
- 1 No command tail.
- 2 Data file not found.
- 4 Timestamp file creation error.
-
-
- DOS/EGA/VGA required.
-
-
- Timechk:
-
- This program is designed to read from the command line up to four
- parameters, Start time, end time, interval between and control file
- name. Time is input in 24 hour format without any seperators.
-
- Command line formats:
-
- System versions:
-
- Valid between times : drive:\path\timechk s hhmm hhmm
- Valid return after time : drive:\path\timechk s a hhmm
- Valid return before time : drive:\path\timechk s b hhmm
-
- Timestamp file versions:
-
- Valid between times : drive:\path\timechk drive:\path\file hhmm hhmm
- Valid return after time : drive:\path\timechk drive:\path\file a hhmm
- Valid return before time : drive:\path\timechk drive:\path\file b hhmm
-
- Full version : timechk drive:\path\file mm hhmm mm
-
- The control file can be any valid DOS file. This program uses the
- timestamp in the complete format to return valid if the system time
- is between the two times and mm minutes has elapsed since the file
- timestamp. File date is not checked against system date.
-
- If the control file is not specified for the other versions, the
- program checks on the system time, otherwise the file timestamp is
- used. Please note, one character filenames are not to be used,
- otherwise an errorlevel 2 termination will occur.
-
- The full version checks for the current time to be greater than the file
- time, plus the offset and then checks th that the bracket time is valid.
-
- Full pathnames, within the DOS 64 byte limit, may be used.
-
- The program will return true (errorlevel 0) if the system or file time
- is equal to the specified times.
-
- Return errorlevels:
-
- - 0 Time check true.
- - 1 Time check false.
- - 2 No or incomplete command tail.
- (Console bell sounded once.)
- - 3 Specified timestamp drive:\path\file not found.
- (Console bell sounded twice.)
-
-
- Datechk:
-
- This program returns errorlevel 0 if the date is equal to, after or
- before the specified command line date. The date is entered in the
- English format ddmmyy without seperators and must be prefixed by
- either a, b, or e (Upper or lowlower case permited) followed by a space.
- therefore the command line will look like:
-
- drive:\path\datechk a 120891 (After 12/08/91),
- drive:\path\datechk b 120891 (Before 12/08/91),
- drive:\path\datechk e 120891 (Equal to 12/08/91).
-
- If the year is replaced by ** then the ddmm sequence will trigger on
- the same date every year.
-
- drive:\path\datechk a 1208** (After 12/08),
- drive:\path\datechk b 1208** (Before 12/08),
- drive:\path\datechk e 1208** (Equal to 12/08).
-
- Exiting.
-
- errorlevel = 0 - True exit.
- 1 - False exit.
- 2 - Command line error.
- (Console bell sounded once.)
-
-
- Dowchk:
-
- This program has two basic formats, the version without the command
- tail and the version with a tail which must be seven characters long
- in the following format:
-
- dowchk 12345** - Returns true for working days.
- dowchk *****67 - Returns true for the weekend.
-
- Please note that the week format is the airline version, not the
- computer format, begining with Monday (1).
-
- Exiting.
-
- For the day select version:
- errorlevel = 0 - True exit.
- 1 - False exit.
- 2 - Command line error.
- (Console bell sounded once.)
-
-
- For the no command tail version:
-
- errorlevel = 1 - Monday.
- 2 - Tuesday.
- 3 - Wednesday.
- 4 - Thursday.
- 5 - Friday.
- 6 - Saturday.
- 7 - Sunday.
-
-
- Monthend:
-
- Command line : drive:\path\monthend drive:\path\file
-
- This program checks the timestamp file and the system date for
- inequality and assumes that the month end has passed.
-
-
- Exiting.
-
- The program returns the following errorlevel codes
-
- 0 - Monthend has passed.
- 1 - Monthend has not passed.
- 2 - Command tail error (no tail!).
- (Sounds the console bell once).
- 3 - Timestamp file error.
- (Sounds the console bell twice).
-