home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
cimreset.zip
/
README.TXT
< prev
Wrap
Text File
|
1996-02-29
|
3KB
|
63 lines
CIMRESET.CMD
One nice feature of OS2-CIM is that it records your accumulated connect
time. Unfortunately, this feature is not really useful unless you remember
to press the RESET button at the beginning of each month. That's hard to
remember. This OS/2 REXX utility automatically resets your connect
time clock once each month. In addition, it logs your monthly
CompuServe usage to a history file.
Place CIMRESET.CMD in your OS/2 startup folder. Set the working
directory to C:\CSERVE\OS2-CIM or to wherever you have OS2-CIM
installed. The utility will run every time you start OS/2. (Don't
worry, it's quick.) The utility will look at the last time OS2-CIM's
connect timer was reset. If the timer was reset in the current month,
CIMRESET does nothing. Otherwise, it will record your accumulated
connect time to a history file, reset OS2-CIM's accumulated connect time
to zero, and set the reset date to the first day of the current month.
The history file is called CompuServeUsage.txt and will be located in
CIMRESET's working directory. You will probably want to create a
shadow to this file on your desktop. The file will be updated only
once per month. You will use this file to see your past usage. You
will use the Connection Info dialog in OS2-CIM to see your current
month's usage. The history file will have the following format:
CompuServe Connect Time by Month for OS2CIM
Nov 1995 2 Hours, 12 Minutes
Dec 1995 4 Hours, 23 Minutes
Jan 1996 0 Hours, 15 Minutes
This REXX utility is designed for use with OS2-CIM version 2.0.3.
It has not been tested with any other version. You must have REXX
installed on your machine to use this utility. (REXX comes with OS/2).
The utility will modify the CompuServe file OS2-CIM.INI. You should
make a backup copy of this file before using this utility
for the first time. This ini file is probably located in your
C:\CSERVE\OS2-CIM directory.
You may place CIMRESET.CMD in any directoy on your
hard drive. Create a program object for the utility and place it in
your OS/2 startup folder. Open settings and set the working
directory to where ever you installed CompuServe (probably
C:\CSERVE\OS2-CIM). To test the utility, go to the Session tab
on the settings notebook and remove the check mark from the
'Close window on exit' property. Close the settings notebook and
run the utility. It should produce no output. If it complains that
it cannot find OS2-CIM.INI, you did not set the working directory
properly. Once you have the utility working, put the check mark
back on the 'Close window on exit' property. You might also want
to place a check mark on the 'Start Minimized' property to keep a
OS/2 window from temporarily opening when you reboot.
CIMRESET will reset the connect timer in OS2-CIM if it has not
been reset in the current month. When it does the reset, it
makes the reset date the first of the current month. The first time
you run the utility, it may reset your connect timer even though it
is not the beginning of the month. This is normal. The utility will
work correctly in subsequent months provided you do not manually
press the reset button in OS2-CIM.