I have a 'user' executable command file that lists the contents of several
HFS directories to their screen (see below for an example). I only want to
show the actual file name to the user. The full path name or any other info
is not required.
echo ---- Pinnacle Outbound Messages
setvar hpmsgfence 2
listfile /ECOMM/EDI/outbox/pinnacle/;seleq=[object=file];format=6 > edisf
setvar hpmsgfence 0
if finfo('edisf','end of file') > 0 then
print edisf
else
echo *I* There are NO messages waiting.
endif
regards,
Robert
*****************************
Robert W.Mills, Systems Development Manager, Windsong Services
Electron House, Cray Avenue, St. Mary Cray, Kent BR5 3PN, ENGLAND
Tel: +44 (0)1689.870622 x 3005 Fax: +44 (0)1689 899026
[log in to unmask]
********************************
The thoughts, comments, and opinions expressed herein are mine.
They do not reflect those of my employer, nor anyone else.
********************************
***Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipients and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|