home *** CD-ROM | disk | FTP | other *** search
- Cory Utilities Release 2.0
- ((C)) Cory C. Albrecht 11 February 1991
-
- Serial Number: 19910211-1221171
-
- ******** ShareWare Notice: Please Read ********
-
- Cory Utilities is now a copyrighted work, starting at release 2.0.
-
- Distribution Terms
- Cory Utilities may be distrubuted freely under the following provisos -
- 1) You MUST keep the entire archive together. All files, including this
- documentation file must be kept together.
- 2) You may NOT add any files to this archive, or add this archive to any
- other archive.
- 3) You may NOT make any changes to either the executables or this documen-
- taion file.
- 4) You may NOT charge for the distribution of Cory Utilities. Bulletin Board
- Systems, File Archive Systems, etc. that charge their users (even if it
- is a nominal, one time only, sign up fee) must contact Cory Albrecht (me).
- 5) You may keep Cory Utilities for a 30 day trial period without charge. If
- you wish to keep it beyond that, please register by sending 25$ Cdn to:
- Cory Albrecht
- 115 Country Hill Dr.,
- Kitchener, Ontario,
- Canada, N2E 1S6
- Every 20$ Cdn above the registration fee entitles you to the next update,
- free of charge. Therefore 45$ Cdn will get you the next update, free of
- charge. 65$ Cdn will get you the next two updates, 85$ Cdn the next three,
- and so on. Registration and order forms are provided at the end of this
- file.
- 6) These ShareWare terms do not apply to governmental or corporate
- institutions. Government offices or corporations may purchase Cory
- Utilities at a price of 50$ Cdn per CPU, or for use on a network at
- 10$ per station per network. Charitiable and non-profit organisations
- may use Cory Utilities at not charge. Updates are available to government
- offices and corporations for 25$ per CPU or 5$ per station per network.
- 7) Beyond and outside these terms, all rights are reserved.
-
- ** Important Note: This agreement is in not a warranty or guarrantee in any
- legal way, shape, or form. You the user take full responsibility for using
- this package. Any damage to hardware or software, expensive or important
- data, or anything else, is not the fault of the creator and designer of
- this software, or the place or person from which it was acquired.
-
- Dated 11 February 1991, 15:31:13
- Cory Albrecht
-
- ******** End ShareWare Notice ********
-
- Included:
- ALARM.EXE ANSWER.EXE CDIR.EXE DF.EXE
- DL.EXE DS.EXE DU.EXE ISDATE.EXE
- ISDAY.EXE ISTIME.EXE ISWDAY.EXE UTILS.DOC (this file)
-
- Notes: 1) Some programmes listed herein have versions which require an 80x87
- coprocessor. These versions are included since they are smaller, and
- run faster (though not noticibly so for the smallest ones). The ones
- that are made to run with an 80x87 have the designation '87' at the
- end of the file name. Thus DU.EXE becomes DU87.EXE.
-
- 2) Some of the programmes were made for use in batch files to increase
- the power of batch files. For instance, a computer running a BBS with
- some type of electronic mail front end is typically kept cycling around
- from e-mail front door to BBS to e-mail front door to BBS etc., by way
- of a batch file. ISDATE.EXE, ISDAY.EXE, ISWDAY.EXE, and ISTIME.EXE could
- be used inside the batch file if there was something that needed to be
- done before, on or after a certain date, day of the year, day of the week,
- or at a specific time of day. This could be something like making a long
- distance call to another e-mail site to transfer mail. ANSWER.EXE is made
- to be used when a one letter response is required, such as "Y" or "N".
-
- Descriptions:
-
- ALARM.EXE
- version: 1.01b
- changes: Accepts date in both hhmm and hh:mm formats.
- command line: ALARM <hhmm>|<hh:mm>
- Where <hhmm> or <hh:mm> is the time in 24 clock style. I.E.:
- 0800, 14:45, 1530, and 06:53.
- function: Rings alarm at specified time.
-
- ANSWER.EXE
- version: 1.00b
- command line: ANSWER <string> [-c]
- Where <string> is a set of characters, one of which is expected
- from the keyboard.
- Where -c is the "Case Flag". If the Case Flag is used, then
- ANSWER.EXE operates in case sensitive mode. Otherwise ANSWER.EXE
- operates in case unsensitive mode.
-
- CDIR.EXE
- version: 1.11b
- changes: Improved file and directory recognition while examining the
- <path> argument. Now accepts ".." and "." directory short-
- cuts as well as just the backslash, "\", for the root direc-
- tory. Drive recognition bugs squashed. Display of total, free
- and used space on drive shown.
- command line: CDIR [<path>]
- Where <path> is the path of the directory you wish to view.
- I.E. C:\DOS\*.EXE, C:\*.*, A:\this.???, or use of the short-
- cut directories ".." and ".", as well as just the backslash,
- "\", for the root directory.
- function: View the files in a directory. If the list of files is to big
- to fit on the screen, you may scroll through it using the
- following keys:
-
- Key Function
- ═══ ════════
- Home Go to top of the list
- End Go to bottom of the list
- PgUp Go up one screen
- PgDn Go down one screen
- Up arrow Go up one line
- Down arrow Go down one line
-
- When you are done Alt-X exits the programme.
-
- DF.EXE
- version: 1.01b
- changes: Accepts drives A: - Z:. Displays Ks and Megs along with bytes
- and percentage. Reports if drive not ready or not recognised
- by the system.
- command line: DF x: [x: [x: [...]]]
- Where x: is any drive.
- function: Displays the amount of space free on a particular drive.
-
- DL.EXE
- version: 1.10b
- changes: Ignoring ASCII characters 0 - 32 becomes optional. Checking
- for existence of input and output files added.
- command line: DL <infile> <outfile> [-i]
- Where <infile> is the text file to be read and processed, and
- <outfile> is the new text file to be created. To ignore all
- characters from ASCII 00 to ASCII 31, use the -i option.
- function: Takes <infile> and removes all lines that are the same as the
- line previous. To ignore ASCII control characters (0 to 31)
- use the -i option.
-
- DS.EXE
- version: 1.00b
- command line: DS x: [x: [x: [...]]]
- Where x: is any drive.
- function: Displays the total space on a particular drive. Reports if
- drive not ready or not recognised by the system.
-
- DU.EXE
- version: 1.01b
- changes: Accepts drives A: - Z:. Displays Ks and Megs along with bytes
- and percentage. Reports if drive not ready or nnot recognised
- byt the system.
- command line: DU x: [x: [x: [...]]]
- Where x: is any drive.
- function: Displays the amount of space used on a particular drive.
-
- ISDATE.EXE
- version: 1.00
- command line: ISDATE <dd/mm/yyyy> [-b]
- Where <dd/mm/yyyy> is the date to check to see if it is after.
- The dd, mm, and yyyy args *must* be the number of digits shown.
- For instance, 6/9/91 is not acceptable, but 06/09/1991 is.
- Where -b is the "Before Flag". If -b is used, then the return
- values are reversed.
- returns: without the -b flag:
- 0 if date specified has not passed
- 1 if date specified is today or has passed
- with the -b flag:
- 0 if date specified is today or has passed
- 1 if date specified has not passed
- regardless of -b flag:
- 2 if there is a problem with the command line argument
- note: For ISDATE.EXE to function properly, you must have your system
- date set to the correct date.
-
- ISDAY.EXE
- version: 1.00b
- command line: ISDAY <dd/mm> [-b]
- Where <dd/mm> is the date to check to see if it is after.
- The dd and mm args *must* be the number of digits shown. For
- instance, 6/9 is not acceptable, but 06/09/1991 is.
- Where -b is the "Before Flag". If -b is used, then the return
- values are reversed.
- returns: without the -b flag:
- 0 if date specified has not passed
- 1 if date specified is today or has passed
- with the -b flag:
- 0 if date specified is today or has passed
- 1 if date specified has not passed
- regardless of -b flag:
- 2 if there is a problem with the command line argument
- note: For ISDAY.EXE to function properly, you must have your system
- date set to the correct date.
- ISDAY.EXE is different than ISDATE.EXE in that ISDAY.EXE is not
- year specific. I.E.: "ISDAY 06/09" will return 1 regardless of
- what year it is, as long as the present date is on or after
- September the sixth.
-
- ISTIME.EXE
- version: 1.00b
- command line: ISTIME <hh:mm:ss> [-b]
- Where <dd/mm/yyyy> is the date to check to see if it is after.
- If hh is less than 10, then a leading 0 must be used. For
- instance, 6:12:32 is not acceptable, but 06:12:32 is.
- Where -b is the "Before Flag". If -b is used, then the return
- values are reversed.
- returns: without the -b flag:
- 0 if time specified has not passed
- 1 if time specified is now or has passed
- with the -b flag:
- 0 if time specified is now or has passed
- 1 if time specified has not passed
- regardless of -b flag:
- 2 if there is a problem with the command line argument
- note: For ISTIME.EXE to function properly, you must have your system
- time set to the correct time.
-
- ISWDAY.EXE
- version: 1.00b
- command line: ISWDAY <day> [-b]
- Where <day> is one of "Sun", "Mon", "Tue", "Wed", "Thu", "Fri",
- or "Sat", case does not matter
- Where -b is the "Before Flag". If -b is used, then the return
- values are reversed. The "Before Flag" operates differently in
- ISWDAY.EXE than in the other four date/time check programmes.
- If "Sun" and "-b" are used together, ISWDAY.EXE will only
- return 0 on a Sunday. This is because Sunday is the first day
- of the week. If "Sat" is used with out "-b", ISWDAY will only
- return 1 on a Saturday, since Saturday is the last day of the
- week.
- returns: without the Before Flag [-b]:
- 0 if week day specified has not passed
- 1 if week day specified is today or has passed
- with the Before Flage [-b]:
- 0 if week day specified is today or has passed
- 1 if week day specified has not passed
- regardless of -b flag:
- 2 if there is a problem with the command line argument
- note: For ISWDAY.EXE to function properly, you must have your system
- date set to the correct date.
-
- -------------------------------------------------------------------------------
- Personal Use Registration Form
- Send to:
- Name: ________________________________ Cory Albrecht
- 115 Country Hill Dr.,
- Address: _____________________________ Kitchener, Ontario,
- _____________________________ Canada, N2E 1S6
- _____________________________
- _____________________________ or Cory@Anorien.UUCP
-
- Phone: ( ___ ) ___ - ____ Serial Number of Product: ________-________
-
- Computer (Make/Model): __________ / __________
-
- Where did you acquire this package? __________________________________________
- __________________________________________
- __________________________________________
-
- Comments: ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ------------------------------------------------------------------------------
- Government and Corporate Registration Form
- (Non-profit and charitable organisations use this form as well)
-
- Name of Corporation/Government Office: ______________________________________
- ______________________________________
- ______________________________________
-
- Address: _____________________________ Send to:
- _____________________________ Cory Albrecht
- _____________________________ 115 Country Hill Dr.,
- _____________________________ Kitchener, Ontario,
- _____________________________ Canada, N2E 1S6
- _____________________________
- _____________________________ or Cory@Anorien.UUCP
-
- Name of Contact Person: _______________________________
-
- Departement of Contact: _______________________________
- _______________________________
- _______________________________
-
-
- Phone: ( ___ ) ___ - ____ Serial Number of Product: ________-________
-
- Discribe your system: _______________________________________________________
- _______________________________________________________
- _______________________________________________________
- _______________________________________________________
- _______________________________________________________
- _______________________________________________________
- _______________________________________________________
- _______________________________________________________
- _______________________________________________________
- _______________________________________________________
-
- Where did you acquire this package? __________________________________________
- __________________________________________
- __________________________________________
-
- Comments: ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ____________________________________________________________________
- ------------------------------------------------------------------------------
-
-