home *** CD-ROM | disk | FTP | other *** search
-
- DAY CHECKER 1.0
-
- BY USING THIS PROGRAM YOU AGREE TO HOLD THE AUTHOR FREE OF ALL
- LIABILITY OF ANY KIND TO THE EXTENT PERMITTED BY LAW. YOU
- ASSUME THE RISK OF ANYTHING THAT HAPPENS. VOLUME CHECKER IS
- SOLD WITHOUT WARRENTY OF ANY KIND, INCLUDING FITNESS FOR A
- PARTICULAR PURPOSE OR MERCHANTABILITY. REMEDIES ARE LIMITED TO
- THE REFUND OF THE REGISTRATION FEE.
-
-
-
-
- -----------------------------
-
- Super quick lesson:
-
- Just say: DC
- you can rename dc.com anything you want.
- you may want to call it daycheck.com to make your bat
- files easier to read.
-
- Errorlevels returned:
-
- 0 On Sunday
- 1 On Monday
- 2 On Tuesday
- 3 On Wednesday
- 4 On Thursday
- 5 On Friday
- 6 On Saturday
-
- 10 For Errors. Yours, mine, and the operating system's.
-
-
-
-
-
-
- ------------------------
- CONTENTS
-
- What is it?
- How do I use it?
- Suppress output
- Redirection
- Registration
- Other programs
-
- ------------------------
- WHAT IS IT?
-
- Day checker is a batch utility that tells your batch file what
- day of the week it is.
- ------------------------
- HOW DO I USE IT?
-
- The command line for DC is:
-
- DC [s]
-
- Only the registered version recognizes the s for 'shut up'
-
- If you want to make sure users back up the system, you can have
- the batch file that runs DC create a little file each day of
- the week you want backups done on, and then have your menu
- system keep displaying a screen that reminds them no backups
- have been done until they run your backup batch file, which
- deletes the 'flag' file.
-
- ------------------------
- SUPPRESS OUTPUT
-
- An 's' on the command line will cause output to be suppressed
- by the registered version.
-
- example:
-
- DC S
-
- Will return the same error codes but will not display anything.
-
- ------------------------
- REDIRECTION
-
- The output of DC can be sent to nul to get rid of it with:
-
- DC > nul
-
- or to a file with:
-
- DC [drive letter] > filename
-
- You can create a log of what the program has done complete with
- dates and times by adding the following to your batch file:
-
-
- type dots.dat >> DC.log
- type cr.dat >> DC.log
- echo Y|more|date >> DC.log
- echo Y|more|time >> DC.log
- DC >> DC.log
-
- Where dots.dat is just a line of dots or something to separate entries,
- and cr.dat is a file that is just a couple of carriage returns.
-
- DC's output is more or less a bunch of junk in the file, but
- you may want to do this anyway if you are a sysop running DC in
- your maintenance batch, just so you will know it ran if you
- find yourself looking for what went wrong some time. Perhaps
- you will want to have the maintenance batch delete the old log
- when it begins. That way, you will have the log if you need
- it, but it won't build up on you.
-
- The begging messages of the unregistered version cannot be
- redirected.
-
- ------------------------
- REGISTRATION
-
-
- To register, send one buck and a self addressed stamped
- envelope to:
-
- Drake Koefoed 1409 Oak Patch Road # A9 Eugene, OR 97402
-
- Or send two bucks, and I will provide the envelope and address
- it and stamp it for you.
-
- Or send one buck and the name and password you will be using,
- and log onto my bbs to find out how to create the registered
- version. The bbs is:
-
- Assembler bbs (503) 343-6383
-
- You can also leave messages on:
-
- Out in the Styx bbs (503) 345 2582
-
- If you write and do not send a self addressed envelope, I won't answer.
- If you send a buck and no self addressed stamped envelope, I
- will assume you intend to call the board for registration
- information. I answer mail even without registrations, but not
- without the self addressed stamped envelope.
-
- ------------------------
- OTHER PROGRAMS
-
- DC is preceded by PRIN28, a printing program that prints out
- unformatted or misformatted files as if they had been done on a
- word processor. Prin will put the filename and date and time
- created at the top of the printout, add a left margin, print to
- file, number the pages, print in doublespace, wrap excessively
- long lines, and control the number of lines per page as
- specified by the user. Good for program source code, batch
- files, and text files formatted by people who don't know your
- printer can't do that many lines on a page. Prin, like DC, is
- written in assembler for high speed. Prin is multitasker
- aware, and will run in a 7k window.
-
- I may do some more batch utilities, and if I do, I will
- probably use the same method to create the registered version.
- If you are a registered user of DC, and you find something else
- by me that is later, try it and see. If it works, that will be
- my way of saying thanks for registering DC.
-
- Another batch utility, VC (which checks for an empty floppy
- drive and tests the label you enter on the command line,
- including wildcards) has the same registration system as DC.
- So if you have already paid for one, you get the other free.
-
- ------------------------
- NEED A UTILITY ?
-
- I specialize in little utilities written in assembly language.
- I do custom programming, and might be talked into other
- shareware programs, particularly if there are some people out
- there promising to register.
-
- I also do consulting work around the Eugene, Oregon area. If
- you are going to pay a consultant, why not get one who can code
- his way out of a C:\> prompt?
-