HP3000-L Archives

January 1998, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Donna Garverick <[log in to unmask]>
Reply To:
Donna Garverick <[log in to unmask]>
Date:
Wed, 7 Jan 1998 14:13:40 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
Anthony Ballo wrote:
> I want to rename all files shown by: LISTF [log in to unmask]
> to [log in to unmask] Is there a way to do this
> without doing an individual copy/rename?

sounds to me like anthony doesn't have mpex available, so...
a command file would do what you're asking quite nicely.  in
shorthand, the steps would be:
1) listf [whatever],6 > [message file]
2) while not end of [message file]
2a)  get [message file] record
2b)  extract file name & tack on new group & account
2c)  set up rename command & do it
3) clean up

ideally, anthony, you'd want to accept the two file sets as
parameters rather than hard-coding it straight into the file.
          - d
--
Donna Garverick     Sr. System Programmer
510/210-6631        [log in to unmask]

>>>MY opinions, not Longs Drug Stores'<<<<

ATOM RSS1 RSS2