From: Manfred Scherer <manfred.scherer.mhm@t-online.de>
To: linux-msdos@vger.kernel.org
Subject: RE: dos command
Date: Mon, 6 Oct 2008 12:44:22 +0200 [thread overview]
Message-ID: <200810061244.22582.manfred.scherer.mhm@t-online.de> (raw)
there is no way to run more than one command in the dos commandline,
except command piping.
A possibility is to turn over the value as a commandline argument:
The first line in your a.bat should bee:
set val=%1
Call the batchfile a.bat with your value (i.e. 7) in one command line:
call a.bat 7
If you cannot modify your a.bat before, then you can generate a version of it:
echo set val=%%1 > b.bat
cat a.bat >> b.bat
call b.bat 7
next reply other threads:[~2008-10-06 10:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-06 10:44 Manfred Scherer [this message]
[not found] ` <48EA9EA4.3030603@pobox.com>
2008-10-06 23:49 ` dos command Manfred Scherer
2008-10-07 7:47 ` Frank Cox
-- strict thread matches above, loose matches on Subject: below --
2008-10-05 13:04 idan72
2008-10-05 18:36 ` Frank Cox
2008-10-05 19:24 ` Idan Shai (ishai)
2008-10-05 19:30 ` Frank Cox
2008-10-05 19:46 ` Idan Shai (ishai)
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=200810061244.22582.manfred.scherer.mhm@t-online.de \
--to=manfred.scherer.mhm@t-online.de \
--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