\r
CorrectedPath = StrnCatGrow(&CorrectedPath, NULL, Path, 0);\r
ASSERT(CorrectedPath != NULL);\r
- ShellCommandCleanPath(CorrectedPath);\r
+ PathCleanUpDirectories(CorrectedPath);\r
\r
Status = ShellOpenFileMetaArg((CHAR16*)CorrectedPath, EFI_FILE_MODE_READ, &ListHead);\r
if (EFI_ERROR(Status)) {\r