From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Cox Subject: Re: dos command Date: Sun, 05 Oct 2008 12:36:19 -0600 Message-ID: <20081005123619.73dba57d.theatre@sasktel.net> References: <19824395.post@talk.nabble.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-reply-to: <19824395.post@talk.nabble.com> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: idan72 Cc: linux-msdos@vger.kernel.org On Sun, 5 Oct 2008 07:53:24 -0700 (PDT) idan72 wrote: > How can I send in one line two different dos command ? Do you mean that you want to pipe the output of one command to another? If so, you just separate the commands with a | character ( which is shift-\ on most keyboards). type file.txt | more That will take the output of the type command and pipe it into the more command. If you just want to feed commands to the command line one at a time but type just one thing, then you need to write a batch file, which is just a text file that contains the commands that you want to run. dosemu comes with a batch file called autoexec.bat in the c:\ directory -- take a look at that for an example of how to write one. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com DRY CLEANER BUSINESS FOR SALE ~ http://www.canadadrycleanerforsale.com