A
A
AlexF2016-12-10 10:11:38
Programming
AlexF, 2016-12-10 10:11:38

How to disable the output of command execution in the console?

Hello! I am writing a console application in C ++, and I had this problem:
When my program executes the command: system("copy .\example\*.* .\");(For example), then a lot of unnecessary lines are output to the console, while closing the necessary output, they say N files were copied and all the names of the files that were copied. @echo offdisables only the output of the command itself, but not the result of its work. @copy ...also gives no result. Help me please. Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2016-12-10
@AleexF

stackoverflow.com/questions/16249951/how-to-suppre...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question