home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Der Mediaplex Sampler - Die 6 von Plex
/
6_v_plex.zip
/
6_v_plex
/
DISK5
/
DOS_04
/
DAYBAT12.ZIP
/
DAYBAT.DOC
next >
Wrap
Text File
|
1992-07-13
|
6KB
|
151 lines
DAYBAT V1.2
(c) Joseph Sheppard
What is it?
───────────
Daybat is a utility that will allow you to run a different batch file
once a day, every day of the week.
The ideal way to use DAYBAT is by making it a part of your AUTOEXEC.BAT
file. Then, each time your computer is turned on, DAYBAT will run the
batch file for whatever day of the week it happens to be.
Upto five command line variables can be passed to the daily batch files.
To pass a variable to a batch file, simply run DAYBAT in the same manner
you would run the batch file:
DAYBAT /ALL /NOSOUND
Would run the daily batch file and pass the varaibles /ALL and /NOSOUND
as %1 and %2 to the batch file.
Daybat will terminate with a DOS Errorlevel of 1-7 depending on the day
of the week (1=Sunday, 2=Monday, 3=Wednesday, 4=Thursday, 5=Friday,
6=Saturday, 7=Sunday).
What do I have to do?
─────────────────────
Create upto seven batch files. Name them with the first three letters
of the days of the week:
SUN.BAT
MON.BAT
TUE.BAT
WED.BAT
THU.BAT
FRI.BAT
SAT.BAT
In these batch files, you place the commands you want executed on each
day. If you don't want a batch file to run on a particular day, then
don't create a file for that day. DAYBAT will return a message
saying that the batch file was not found, and abort.
DAYBAT.EXE must be in your DOS path. Each batch file must be in
the directory that you run the program from. This allows you to
have different DAYBAT batch files on various directories. For
most AUTOEXEC.BAT installations you'll want your batch files in
the root directory.
Daybat will run once each day. If you would like for it to run each and
every time the computer is booted, then you must delete the file called
DAYBAT.DAT, which is located on the directory you are running DAYBAT from.
DAYBAT.DAT is recreated each time DAYBAT is successfully run, so a good way
to automatically delete the file is to add the following line to your
batch file that runs DAYBAT:
if exist DAYBAT.DAT del DAYBAT.DAT
The above line must be executed before DAYBAT.EXE in order to work
correctly.
REGISTRATION?
─────────────
If you find that DAYBAT meets your needs, then please send a Shareware
contribution to the author. The suggested amount is $5.00, however larger
or smaller contributions are greatfully accepted. I do not expect you to
send a contribution if this software doesn't meet your needs. If you put
it in your AUTOEXEC.BAT file, and leave it there for more than a week, I'd
say that it does meet your needs, and you should register the program.
DAYBAT is a fully functional program. This means that the author has not
held back any features, or crippled the program in any way. If you
register the program, you will not receive a different version that does
something different. You will receive a personal letter from the author
thanking you for supporting the shareware concept.
Please send your voluntary contributions (payable to The Ledge PCBoard) to:
The Ledge PCBoard
ATTN: Joseph Sheppard
6858 Acco St.
Los Angeles, CA 90040
I can be reached at my BBS, The Ledge PCBoard (818) 896-4015 HST/V.32bis.
Or the U'NI-net Echomail Network Shareware Conference, Compuserve 76175,623
or US Mail at the address above.
While this program performs fine on my system, I can't guarantee that it
will work at all on yours. If you have a problem, contact me and I will
attempt to solve the problem.
THANKS
──────
Thanks to Jon Badeaux for providing the original idea for DAYBAT.
Thanks to Dean Gangstee for the suggestion of ending Daybat on an
errorlevel calculated for a day of the week.
OTHER PROGRAMS BY THIS AUTHOR
─────────────────────────────
TextView Door: Used to display online magazines. Also great for new user
information or product supports. Allows "freebie" downloading inside
the door by shelling to external protocol drivers. TVIEWxx.ZIP.
BBSList Door: Allows callers to create a BBS List. The list can be
viewed, downloaded or scanned by keyword. Automatically checks for
duplicate numbers for easy maintenance. BLISTxx.ZIP.
FASTHST: Configures a USRobotics HST modem to run with port locked at
high speed. Writes settings to NRAM so a simple ATZ in the
modem init string will bring up the preferred settings. FSTHSTxx.ZIP.
QTIME: For BBS's running Network mail. Creates an ASCII and ANSI file
telling when the last mail transfer took place. Great for the top of
BBS NEWS displays. QTIMExx.ZIP.
DDoor: A PCBoard BBS Door that allows callers to open another door
instead of returning to the BBS. DDOORxx.ZIP.
ATSend: Sends "AT" commands to Hayes compatible modems from DOS or batch
files. ATSENDxx.ZIP.
These programs and all recommended third party support packages are always
available for download on The Ledge 818-896-4015 (V.32bis/HST) on the first
call in the SUPPORT DOOR.
DISCLAIMER
──────────
I make no warranty of any kind, express or implied, including without
limitation, any warranties of merchantability and/or fitness for a
particular purpose. I shall not be liable for any damages, whether
direct, indirect, special or consequential arising from a failure of
this program to operate in the manner desired by the user. I shall not
be liable for any damage to data or property which may be caused
directly or indirectly by the use of this program.
IN NO EVENT WILL I BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY
LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL
DAMAGES ARISING OUT OF YOUR USE OR INABILITY TO USE THE PROGRAM, OR
FOR ANY CLAIM BY ANY OTHER PARTY.