PRIMEQUEST 1000 Series Tool Reference
CHAPTER 6 UEFI Command Operations
6.1
UEFI Shell and UEFI Commands
The UEFI of the PRIMEQUEST 1000 series supports the UEFI shell function. Users can use the UEFI shell to
execute commands from the UEFI console.
starts
shows a screenshot of when the UEFI shell starts.
FIGURE 6.1 Sample screenshot of the UEFI shell immediately after it starts
6.1.1
Automatic startup file
Immediately after starting, the UEFI shell checks for the startup.nsh file in the defined execution path.
If the file exists, the shell executes the commands specified in the file. Then, it waits for command input from the
console. This situation does not always require the startup.nsh file.
Remarks
The execution path is the directory path specified in the shell environment path variable. You can display and
change this directory path by using the set command.
6.1.2
UEFI shell command syntax
You can view and display the shell environment variables by using the set command.
To access an environment variable value as an argument for a shell command, enclose the variable name in percent
signs (%), as shown below.
%myvariable%
The shell has a special variable called lasterror. This variable retains the value returned by the last executed shell
command.
The file name argument in shell commands uses the following characters as wildcards: *, ?, [, and ].
FIGURE 6.1 Sample screenshot of the UEFI shell immediately after it
508
C122-E110-10EN