/** @file\r
Main file for mv shell level 2 function.\r
\r
+ Copyright (c) 2013, Hewlett-Packard Development Company, L.P.\r
Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
EFI_SHELL_FILE_INFO *Node;\r
CHAR16 *DestPath;\r
UINTN NewSize;\r
+ UINTN CurrentSize;\r
\r
DestList = NULL;\r
DestPath = NULL;\r
}\r
StrCpy(DestPath, Cwd);\r
while (PathRemoveLastItem(DestPath)) ;\r
+\r
+ //\r
+ // Append DestDir beyond '\' which may be present\r
+ //\r
+ CurrentSize = StrSize(DestPath);\r
+ StrnCatGrow(&DestPath, &CurrentSize, &DestDir[1], 0);\r
+\r
*DestPathPointer = DestPath;\r
return (SHELL_SUCCESS);\r
}\r