MU-VMS Archives

April 1995

MU-VMS@LISTSERV.MIAMIOH.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:
Kent Covert <[log in to unmask]>
Reply To:
Miami University VMS Discussion <[log in to unmask]>
Date:
Mon, 3 Apr 1995 17:57:50 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
In article <1995Apr3.145931.42879@miavx1>, [log in to unmask] (Aaron
D. Yonka) writes:
> [log in to unmask] (Brian J. Bernstein) writes:
>>   I was wondering how redirection is supported in VMS.. I would like to take
a
>> directory and dump it to a text file. In DOS, it would be DIR >DIRFILE.TXT
..
>> so how about VMS?
>>
>> Thanks..
>
> Try this:
>
> $ DIR /OUTPUT=DIRFILE.TXT
>
> to use the same filenames as your above DOS example.
>
> Check out HELP DIRECTORY /OUTPUT for more.
 
Yes.  Most command have a /OUTPUT qualifier that lets you specify a
filename.  For those that don't you might want to try the PIPE command.
For example:
 
    $ PIPE DIR > DIRFILE.TXT
 
--
                                     Kent Covert, Software Coordinator
                                     Miami Computing and Information Services
                                     Miami University, Oxford, OH
                                     [log in to unmask]  (internet)
                                     kacovert@miavx1                 (bitnet)

ATOM RSS1 RSS2