audk/ShellPkg/Application/Shell
Jim.Dailey@dell.com c0b1f749ef ShellPkg: Create a homefilesystem environment variable
Create a homefilesystem environment variable whose value is the file
system on which the executing shell is located. For example: "FS14:".

This eliminates the need for people to have to try and find the "boot"
file system in their startup script.  After this change they can simply
execute %homefilesystem% to set the cwd to the root of the file system
where the shell is located.

A future enhancement could be to add "homefilesystem" to the list of
predefined, read-only variables listed in the EfiShellSetEnv function of
file ShellProtocol.c

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jim Dailey <jim_dailey@dell.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2018-10-03 11:09:47 -07:00
..
ConsoleLogger.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
ConsoleLogger.h ShellPkg/Application: Remove unnecessary EFIAPI 2016-10-09 10:27:45 +08:00
ConsoleWrappers.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
ConsoleWrappers.h ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
FileHandleInternal.h ShellPkg/Application: Remove unnecessary EFIAPI 2016-10-09 10:27:45 +08:00
FileHandleWrappers.c ShellPkg/redirection: Insert \xFEFF for ENV variable redirection 2018-08-16 16:03:16 +08:00
FileHandleWrappers.h ShellPkg/Application: Remove unnecessary EFIAPI 2016-10-09 10:27:45 +08:00
Shell.c ShellPkg: Create a homefilesystem environment variable 2018-10-03 11:09:47 -07:00
Shell.h ShellPkg Shell: Remove redundant functions 2018-09-06 17:47:52 +08:00
Shell.inf ShellPkg/Shell: Remove unused PCDs 2018-09-30 09:16:00 +08:00
Shell.uni report line number for command errors in a script. 2016-05-12 08:15:00 -07:00
ShellEnvVar.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
ShellEnvVar.h ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
ShellManParser.c ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
ShellManParser.h ShellPkg/Application: Remove unnecessary EFIAPI 2016-10-09 10:27:45 +08:00
ShellParametersProtocol.c ShellPkg Shell: Remove redundant functions 2018-09-06 17:47:52 +08:00
ShellParametersProtocol.h ShellPkg/Application: Remove unnecessary EFIAPI 2016-10-09 10:27:45 +08:00
ShellProtocol.c ShellPkg Shell: Remove redundant functions 2018-09-06 17:47:52 +08:00
ShellProtocol.h ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00