public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [shell] @ does not work before if, endif, for and many other command.
@ 2016-12-02 14:20 Tim Lewis
  0 siblings, 0 replies; only message in thread
From: Tim Lewis @ 2016-12-02 14:20 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

Try this:

:start
                @if %1 == ""  then
                  @goto Done
                @endif
  @echo Parameter: %1
  @shift
  goto start
:Done

Per Chapter 4

Also, additional '@' before a command in a script file can prevent the current command from being echoed.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-02 14:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02 14:20 [shell] @ does not work before if, endif, for and many other command Tim Lewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox