projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d921a7c
)
Don't query on batch files.
author
Hartmut Birr
<osexpert@googlemail.com>
Thu, 11 Aug 2005 20:39:28 +0000
(20:39 +0000)
committer
Hartmut Birr
<osexpert@googlemail.com>
Thu, 11 Aug 2005 20:39:28 +0000
(20:39 +0000)
svn path=/trunk/; revision=17309
reactos/subsys/system/cmd/copy.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/system/cmd/copy.c
b/reactos/subsys/system/cmd/copy.c
index
957a1da
..
099f471
100644
(file)
--- 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 */