Appendix D:

Command

Description

 

 

echo [-on -off] [text]

Echos text to the standard output device or toggles script

 

echo

 

 

edit [filename]

Opens the text editor letting you 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>

Executes one or more commands for each item in a set of

 

items.

 

 

goto label

Makes a 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

Edits in HEX mode

DiskName Offset Size][-m Offset

 

Size]]

 

 

 

if [not] condition then

Provides conditional constructs (scripts only)

 

 

load driver_name

Loads a driver

 

 

loadbmp [-c] [-t] [-i[UGA

Displays a bitmap file on the screen

Instance]] file

 

 

 

loadpcirom romfile

Loads a PCI option ROM

 

 

Is [-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

mmaddress [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

 

 

mount BlkDevice [sname[:]]

Mounts a file system on a block device

 

 

mv [src...] [dst]

Move one or more files/directories to destination

 

 

252

www.gateway.com