Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!decvax!tektronix!uw-beaver!fluke!ssc-vax!bcsaic!michaelm From: michaelm@bcsaic.UUCP (Michael Maxwell) Newsgroups: comp.sys.ibm.pc Subject: Re: printing > 10 files Message-ID: <109@bcsaic.UUCP> Date: Mon, 22-Dec-86 16:10:05 EST Article-I.D.: bcsaic.109 Posted: Mon Dec 22 16:10:05 1986 Date-Received: Wed, 24-Dec-86 20:58:27 EST References: <88@bcsaic.UUCP> Reply-To: michaelm@bcsaic.UUCP (Michael Maxwell) Organization: Boeing Computer Services AI Center, Seattle Lines: 20 In article <88@bcsaic.UUCP> michaelm@bcsaic.UUCP (me) writes: >I have a friend who wants to collect lots of files in a telecommunications >session, then print them later on (like overnight). The trouble is that >MS-DOS, wretched excuse for an OS that it is, only allows 10 files to be in >the print queue at a time. And since the print command just queues things up, >you can't just run it in a loop and tell it to print one file after another. >(It will go through the loop 10 times, then die.) Thanks to all who replied; no need to keep those cards and letters coming. For anyone who may be interested, the solutions are generally of the form-- for %F in * type %F > lpt1: --`type' of course does not start up a background process, so the loop prints out one file after another. (I haven't tested it yet, but I'm hoping the expansion of "*" into 137 file names won't cause the command line to exceed DOS's limitation on the length of a command line...) -- Mike Maxwell Boeing Advanced Technology Center arpa: michaelm@boeing.com uucp: uw-beaver!uw-june!bcsaic!michaelm