55
Command Description
cls [background color] Clears the screen
comp file1 file2 Compares two files
connect [-r] [-c] Handle# ½DeviceHandle#
DriverHandle#
Binds the EFI driver to a device and starts the driver
cp [-r] file [file] ... [dest] Copies files and directories, [-r] = recursive
date [mm/dd/yyyy] Gets or sets the date
dblk device [Lba] [Blocks] Performs a hex dump of BlkIo Devices
devices [-b] [-1XXX] Displays devices
devtree [-b] [-d] Displays device tree
dh [-b] [-p prot_id] | [handle] Dumps handle information
disconnect DeviceHandle#
[DriverHandle# [ChildHandle#]
Disconnects device from driver
dmem {address] [size] [;MMIO] Displays the contents of memory
dmpstore Dumps the variable store
drivers [-b] [-lXXX] Displays drivers
drvcfg [-c] [-lXXX] [-f] [-v] [-s] Invokes the driver configuration protocol
drvdiag [-c] [-lXXX] [-s] [-e] [-m] Invokes the driver diagnostics protocol
echo [[-on | -off] | [text] Echoes text to the standard output device or toggles script
echo
edit [filename] Opens the text editor allowing you to create or edit a file
eficompress infile outfile Compresses an EFI file
Efidecompress infile outfile Decompresses an EFI file
endfor Provides a delimiter for loop constructs (scripts only)
endif Provides a delimiter for IF THEN constructs (scripts only)
for var in <set>
goto label Makes batch file execution jump to another label
guid [-b] [sname] Dumps known guid ids
help [-b] [internal_command] Displays help information
hexedit [[-f]FileName|[-d DiskName Offset
Size]|[-m Offset Size]]
Edits in HEX mode
if [not] condition then Provides conditional constructs (scripts only)
load driver_name Loads a driver
loadbmp [-c] [-t] [-i[UGA Instance]] file Displays a bitmap file on the screen
loadpcirom romfile Loads a PCI option ROM
ls [-b] [dir] [dir] ... Obtains directory listings
map [-bdvr] [sname[:]] [handle] Maps sname to device path
mem [address] [size] [;MMIO] Dumps Memory or Memory Mapped IO
memmap [-b] Dumps memory map
mkdir dir [dir] Creates a new directory
mm address [Width] [;Type] [n] Memory Modify: type = Mem, MMIO, IO, PCI, [n] for non
interactive mode when inside a .nsh file
mode [col row] Sets or gets the current graphics mode