[CMD] "del /s directory" command doesn't show the directories or files names in the...
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Thu, 12 Jul 2018 23:47:45 +0000 (08:47 +0900)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Thu, 12 Jul 2018 23:47:45 +0000 (01:47 +0200)
CORE-14059

base/shell/cmd/del.c

index 4c0dc3a..7f2d2a6 100644 (file)
@@ -180,6 +180,7 @@ DeleteFiles(LPTSTR FileName, DWORD* dwFlags, DWORD dwAttrFlags)
 
         if (!((*dwFlags & DEL_YES) || (*dwFlags & DEL_QUIET) || (*dwFlags & DEL_PROMPT)))
         {
+            ConOutPrintf (_T("Delete %s, "),szFileName);
             res = FilePromptYNA (STRING_DEL_HELP2);
             if ((res == PROMPT_NO) || (res == PROMPT_BREAK))
                 return 0x80000000;