From f17e695843988c44fc0453b4af1eba6dca72440c Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Thu, 11 Aug 2005 20:39:28 +0000 Subject: [PATCH] Don't query on batch files. svn path=/trunk/; revision=17309 --- reactos/subsys/system/cmd/copy.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reactos/subsys/system/cmd/copy.c b/reactos/subsys/system/cmd/copy.c index 957a1da17d5..099f4712444 100644 --- a/reactos/subsys/system/cmd/copy.c +++ b/reactos/subsys/system/cmd/copy.c @@ -537,6 +537,13 @@ INT cmd_copy (LPTSTR cmd, LPTSTR param) } } + /* keep quiet within batch files */ + if (bc != NULL) + { + dwFlags |= COPY_NO_PROMPT; + dwFlags &= ~COPY_PROMPT; + } + if(nFiles < 1) { /* There is not enough files, there has to be at least 1 */