https://git.reactos.org/?p=reactos.git;a=commitdiff;h=706a1c5132030adfbdc20dc17f2a8dbd6b6b7acd

commit 706a1c5132030adfbdc20dc17f2a8dbd6b6b7acd
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Fri Jul 13 08:47:45 2018 +0900
Commit:     Hermès BÉLUSCA - MAÏTO <[email protected]>
CommitDate: Fri Jul 13 01:47:45 2018 +0200

    [CMD] "del /s directory" command doesn't show the directories or files 
names in the confirmation message (#680)
    
    CORE-14059
---
 base/shell/cmd/del.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/base/shell/cmd/del.c b/base/shell/cmd/del.c
index 4c0dc3a876..7f2d2a63db 100644
--- a/base/shell/cmd/del.c
+++ b/base/shell/cmd/del.c
@@ -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;

Reply via email to