From: Frank Cox <theatre@sasktel.net>
To: idan72 <ishai@cisco.com>
Cc: linux-msdos@vger.kernel.org
Subject: Re: dos command
Date: Sun, 05 Oct 2008 12:36:19 -0600 [thread overview]
Message-ID: <20081005123619.73dba57d.theatre@sasktel.net> (raw)
In-Reply-To: <19824395.post@talk.nabble.com>
On Sun, 5 Oct 2008 07:53:24 -0700 (PDT)
idan72 <ishai@cisco.com> 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
next prev parent reply other threads:[~2008-10-05 18:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-05 13:04 dos command idan72
2008-10-05 18:36 ` Frank Cox [this message]
2008-10-05 19:24 ` Idan Shai (ishai)
2008-10-05 19:30 ` Frank Cox
2008-10-05 19:46 ` Idan Shai (ishai)
-- strict thread matches above, loose matches on Subject: below --
2008-10-06 10:44 Manfred Scherer
[not found] ` <48EA9EA4.3030603@pobox.com>
2008-10-06 23:49 ` Manfred Scherer
2008-10-07 7:47 ` Frank Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081005123619.73dba57d.theatre@sasktel.net \
--to=theatre@sasktel.net \
--cc=ishai@cisco.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox