Re: dos command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 5 Oct 2008 07:53:24 -0700 (PDT)
idan72 <ishai@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux