Discussion:
[edk2] UEFI Shell Parameter Handling
L***@Dell.com
2015-06-30 18:13:15 UTC
Permalink
Dell - Internal Use - Confidential
All,

Is there an equivalent in the UEFI shell to CMD.exe's %* which gives all of the command line parameters?
Ideally I would like something similar to 4DOS's %3& which gives all of the command line parameters from %3 and up.


- Lowell
Carsey, Jaben
2015-06-30 20:27:49 UTC
Permalink
In a script file? In a UEFI Application?

In a script file, not easily... there is %1 through %9 and you can iterate through the higher params one at a time.

In an UEFI Application, just look at Argc/Argv or LoadedImageProtocol has it.

-Jaben

From: ***@Dell.com [mailto:***@Dell.com]
Sent: Tuesday, June 30, 2015 11:13 AM
To: edk2-***@lists.sourceforge.net
Subject: [edk2] UEFI Shell Parameter Handling
Importance: High


Dell - Internal Use - Confidential
All,

Is there an equivalent in the UEFI shell to CMD.exe's %* which gives all of the command line parameters?
Ideally I would like something similar to 4DOS's %3& which gives all of the command line parameters from %3 and up.


- Lowell

Loading...