home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / apps / 9326 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.7 KB

  1. 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
  2. From: sal8@po.cwru.edu (Steve Luzynski)
  3. Newsgroups: comp.os.os2.apps
  4. Subject: trap 000d sillyness
  5. Message-ID: <sal8.258.724376091@po.cwru.edu>
  6. Date: 14 Dec 92 23:34:51 GMT
  7. Organization: Case Western Reserve University
  8. Lines: 33
  9. NNTP-Posting-Host: b61442.student.cwru.edu
  10.  
  11. I was tinkering with my mail reader and decided that it would be cool to 
  12. have a different sig file depending on what time of day it was. I came up 
  13. with the following (4Dos) batch file:
  14.  
  15. cdd c:\popmail
  16. del popmail.sig
  17. IF %@TIME[%_time] GE 72000 .OR. %@TIME[%_time] LT 28800 copy nitetime.sig 
  18. popmail.sig
  19. IF NOT EXIST popmail.sig copy daytime.sig popmail.sig
  20. c:\ip\cable 0x62 5 0x300
  21. popmail
  22.  
  23. This works fine(by clicking a WPS object pointing to the batch file)...once.
  24.  
  25. The second time I run it, it prints the 'deleting popmail.sig' line and then 
  26. traps.
  27.  
  28. On reboot, chkdsk finds a 'minor file system error' and then corrects 
  29. \delete\control.del. 
  30.  
  31. So what's the dumb thing's problem? I can't imagine what could possibly 
  32. cause not only errors in the undelete tracking stuff but a _trap_! Anyone 
  33. else have any ideas/feel brave enough to try it?
  34.  
  35. Thanks,
  36.  
  37. ----------------------------------------------------------------------------
  38. steve luzynski @ case western reserve university in cleveland, oh
  39. sal8@po.cwru.edu             | voice calls cheerlessly accepted at x2153.
  40. ----------------------------------------------------------------------------
  41. happy people are deluding themselves that there is nothing wrong.
  42. ----------------------------------------------------------------------------
  43. life is but a series of bitter dissapointments.
  44.