home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!agate!ucbvax!FandM.edu!Plain
- From: Plain@FandM.edu (Jack Plain)
- Newsgroups: comp.os.vms
- Subject: Re: Help Writing a Mail Sorter
- Message-ID: <01GSGLRGPOIA8WX4QN@ADMIN.FANDM.EDU>
- Date: 18 Dec 92 17:19:40 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Organization: The Internet
- Lines: 26
-
- >I am trying to write a .com file to sort my mail messages when I run it. What
- >I would like is to do a sel/from="vax" and have it move the selected messages
- >into a folder in mail called vax. Here is piece of the .com file I am working
- >with:
- >
- >! Mail sorting Utility !
- >$mail
- >$dir newmail
- >$select/from="games"
- >$dir
- >$move/all games
- >$yes (for the response to folder does not exist do you wish to make a new one?)
- >Mike Hatz
- >hatzm%venus.dnet@gte.com
- Mike,
- I am not sure this will work but It will get you past the DCL errors; Try this:
- $mail
- dir newmail
- select/from="games"
- dir
- move/all games
- yes (for the response to folder does not exist do you wish to make a new one?)
-
- The difference is the lack of dollar signs.
- Jack Plain
- Plain@FandM.edu
-