--- "James B. Byrne" <[log in to unmask]> wrote:
> This does not seem to work for me outside the PWD.
>
> Thus:
>
>
> > :LISTFILE W@,6
> > WELCOME.PUB.SYS
> > WS92LINK.PUB.SYS
> > :
> > :LISTFILE ./W@,6
> > /SYS/PUB/WELCOME
> > /SYS/PUB/WS92LINK
everything is good here....
> > :LISTFILE [log in to unmask],6
> > No match found for the pathname. (CIWARN 9043)
quite true -- you're mixing hfs and mpe syntax. if you're going to use
slashes, then dots become part of the file name. just think unix :-)
> > :LISTFILE ./W@\.PUB,6
> > ^
> > Invalid character in HFS file name. (CIERR 932)
again true. a backslash doesn't have any meaning within hfs naming
conventions. (lockwords, you know :-)
>
> What I desire is to take a passed file name like:
>
> FILENAME.GROUP.ACCT and turn it into \ACCT\GROUP\FILENAME
>
> or just
>
> FILENAME and turn it into \CURACCT\CURGROUP\FILENAME
not a problem...but you do need to turn your slashes around :-)
(tain't windows :-) - d
Donna Garverick, HP-CSA Sr. System Programmer
dgarverick -at- longs -dot- com
925-210-6631 Longs Drug Stores
Come, my friends, 'Tis not too late to seek a newer world.
Tho' much is taken, much abides; and tho'
We are not now that strength which in old days
Moved earth and heaven, that which we are, we are.
"Ulysses", A. Tennyson
>>>MY opinions, not Longs Drug Stores'<<<
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|