Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!think!mit-eddie!genrad!decvax!decwrl!pyramid!amiga!skipper!cbmvax!randy From: randy@cbmvax.UUCP Newsgroups: net.micro.amiga Subject: Re: AMIGA DIRECTORY PRINT Message-ID: <198@cbmvax.cbmvax.cbm.UUCP> Date: Tue, 6-May-86 10:45:41 EDT Article-I.D.: cbmvax.198 Posted: Tue May 6 10:45:41 1986 Date-Received: Sat, 10-May-86 12:59:51 EDT References: <147@ecs.OZ> Reply-To: randy@cbmvax.UUCP (Randy Weiner) Organization: Commodore Technology, West Chester, PA Lines: 23 Keywords: Can't make it go ! In article <147@ecs.OZ> sjl@ecs.OZ (Stephen Lamb) writes: > >I have tried the following command to print directories and it doesn't >seem to work. > >The command is 'dir lib10: opt a to prt:' ,and the response is >'bad arguments' and consequently no redirection occurs. > AmigaDos uses a syntax similar to UNIX for IO redirection. The 'dir' command defaults output to stdout. The correct format is: dir >prt: lib10: opt a In general, the output redirection '>name' is placed immediately after the DOS command. -- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Randy Weiner -- Commodore Business Machines <> uucp: {ihnp4|seismo|caip}!cbmvax!randy arpa: cbmvax!randy@seismo.css.GOV (or) randy@cbmvax.UUCP@{seismo | harvard} TEL: 215-431-9180