Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!acc!jal From: jal@acc (John Lauro) Newsgroups: comp.os.msdos.programmer Subject: Re: Wanted: information on how to pipe stuff into command.com Message-ID: <1990Nov9.035031.13510@engin.umich.edu> Date: 9 Nov 90 03:50:31 GMT References: <90374@elsie.nci.nih.gov> Sender: news@engin.umich.edu (CAEN Netnews) Organization: University of Michigan - Flint Lines: 19 In article <90374@elsie.nci.nih.gov> ado@elsie.nci.nih.gov (Arthur David Olson) writes: >If, on a true-blue IBM PC-AT running DOS 3.3, I type in the commands > echo dir > input > more < input | command >the system produces the requested directory listing, but then locks up. >If you know a way of avoiding the lockup, I'd appreciate hearing from you >by electronic mail. > If you are writing the program that generates the commands, the following should be a reasonable work around: put an exit at the end. echo dir >input echo exit >>input type input | command Note: You wouldn't want to use more anyways incase you had a screen full... - John_Lauro@ub.cc.umich.edu