home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!b61442.STUDENT.CWRU.Edu!sal8
- From: sal8@po.cwru.edu (Steve Luzynski)
- Newsgroups: comp.os.os2.apps
- Subject: trap 000d sillyness
- Message-ID: <sal8.258.724376091@po.cwru.edu>
- Date: 14 Dec 92 23:34:51 GMT
- Organization: Case Western Reserve University
- Lines: 33
- NNTP-Posting-Host: b61442.student.cwru.edu
-
- I was tinkering with my mail reader and decided that it would be cool to
- have a different sig file depending on what time of day it was. I came up
- with the following (4Dos) batch file:
-
- cdd c:\popmail
- del popmail.sig
- IF %@TIME[%_time] GE 72000 .OR. %@TIME[%_time] LT 28800 copy nitetime.sig
- popmail.sig
- IF NOT EXIST popmail.sig copy daytime.sig popmail.sig
- c:\ip\cable 0x62 5 0x300
- popmail
-
- This works fine(by clicking a WPS object pointing to the batch file)...once.
-
- The second time I run it, it prints the 'deleting popmail.sig' line and then
- traps.
-
- On reboot, chkdsk finds a 'minor file system error' and then corrects
- \delete\control.del.
-
- So what's the dumb thing's problem? I can't imagine what could possibly
- cause not only errors in the undelete tracking stuff but a _trap_! Anyone
- else have any ideas/feel brave enough to try it?
-
- Thanks,
-
- ----------------------------------------------------------------------------
- steve luzynski @ case western reserve university in cleveland, oh
- sal8@po.cwru.edu | voice calls cheerlessly accepted at x2153.
- ----------------------------------------------------------------------------
- happy people are deluding themselves that there is nothing wrong.
- ----------------------------------------------------------------------------
- life is but a series of bitter dissapointments.
-