Home > Back-end >  Want to invoke CMD. Exe, perform commands, how to make the yellow words, not echo?
Want to invoke CMD. Exe, perform commands, how to make the yellow words, not echo?

Time:02-11

Want to invoke CMD. Exe, perform commands, how to make the yellow words, not echo?
Other content normal echo, and don't hide the CMD window, just can't think shows yellow words, I'm going to order hidden, don't want to let the customer know what I run the command, I spent time to study because these commands are,

And must live through my main program postmessage command to the CMD window, let the window to perform,
Or you have better way, thank you,

CodePudding user response:

1. Use the @ echo off

2. Use: command & gt; Any name
Any name is essentially a file, the result of the command is generated in any name in the file, but not displayed on the screen, you need to manually or automatically deleted "any name" file
  • Related