Branch: refs/heads/master
  Commit: a7ea752e59bbbf69c6d8a72ee6a8b7a0f77cca7c
  Author: Tapan Shah <>
  Date:   2016-10-12 (Wed, 12 Oct 2016)

  Changed paths:
    M ShellPkg/Library/UefiShellLevel2CommandsLib/Cd.c

  Log Message:
  ShellPkg:?cd \? command fails to go back to the root directory of a file 

Allows cd command to go back to the root directory when 'cd \' executed in 

This change prevents last PathRemoveLastItem() call which truncates '\' from 
in desired root path which is required to set CWD to the root directory.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <>
Reviewed-by: Jaben Carsey <>

Check out the vibrant tech community on one of the world's most 
engaging tech sites,!
edk2-commits mailing list

Reply via email to