Don't query on batch files.
Modified: trunk/reactos/subsys/system/cmd/copy.c
_____
Modified: trunk/reactos/subsys/system/cmd/copy.c
--- trunk/reactos/subsys/system/cmd/copy.c 2005-08-11 20:37:09 UTC
(rev 17308)
+++ trunk/reactos/subsys/system/cmd/copy.c 2005-08-11 20:39:28 UTC
(rev 17309)
@@ -537,6 +537,13 @@
}
}
+ /* 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
*/