home *** CD-ROM | disk | FTP | other *** search
- /*
- MR/2 ICE - MSGUTIL.CMD
-
- Copyright (c) 1996, Nick Knight
- All Rights Reserved.
-
- Author: Nick Knight
- Created: 03/03/96
- Usage: msgutil subcommand MessageFile
- Purpose: msgutil.cmd allows for special processing of message
- files. It is called from within MR/2 ICE, passed a
- subcommand based on the Fkey used to invoke it (F1 == 1,
- F12 = 12) and the current message file name.
- US Mail: Nick Knight, PO Box 22366, Beachwood, Ohio 44122
- Fidonet: 1:157/2 or 1:/157/200
- Internet: nick@secant.com
- Compuserve: 76066,1240
- BBS: Private messages on Nerd's Nook (216) 356-1772 or 1872
- */
-
- subcommand = 0
-
- '@echo off'
- parse arg subcommand msg_filename
-
- if (subcommand == 1) then call run
- if (subcommand == 2) then call edit
- if (subcommand == 3) then call out
- 'exit'
- return 0
-
- run:
- CURDIR=DIRECTORY()
- zz=rxqueue('create','rx2')
- /* call pgpmr2.hide */
- 'start /win /I /C /F testCMD.cmd '||curdir msg_filename
- lin=''
- zz=rxqueue('set','rx2')
- do until queued()>0
- call syssleep 1
- end
- lin=linein('queue:')
- zz=rxqueue('distroy','rx2')
- return
-
- edit:
- 'epm' msg_filename
- return
-
- out:
- 'mr2i /Qtest.out'
- pause
- return