[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

2454.0. "Amiga version of assign?" by MEMORY::BERKSON (Think honk if you're a telepath) Sat Apr 08 1989 04:33

    Is there a way to do on the Amiga what assigning a file to SYS$OUTPUT
    does on the VAX?  I thought ">" would do this, but it doesn't. 
    I'd like the output that a program sends to the screen to go to a
    file.  Thanks.
    
      Mitch
T.RTitleUserPersonal
Name
DateLines
2454.1should workWJG::GUINEAUSat Apr 08 1989 23:1817
>    Is there a way to do on the Amiga what assigning a file to SYS$OUTPUT
>    does on the VAX?  I thought ">" would do this, but it doesn't. 
>    I'd like the output that a program sends to the screen to go to a
>    file.  Thanks.

The > should work but it MUST ne the second entity on the command line
for DOS to detect it:

	dir >c_src.list  #?.c


You can use < to redirect input as well.

John


2454.2Works!MEMORY::BERKSONThink honk if you're a telepathSun Apr 09 1989 21:054
    Ah.  The problem was I was putting the > after the whole command
    line and not just after the first word.  Thanks.
    
       Mitch