Home > Software engineering >  How to CMD to interact?
How to CMD to interact?

Time:11-16

http://blog.csdn.net/a7320760/article/details/6615932
Now according to the try of this blog, input the correct command to perform and display, but lose the wrong command or just lose a problem after the follow-up of all commands are not carried out, what reason is this? Or are there other can interact with CMD, now program needs to call CMD execute multiple instructions

CodePudding user response:

Write a bat batch file, and then WinExec
Or WinExec direct call?

CodePudding user response:


My idea is to use online cmdshell create a socket connection, for the socket type CMD command, read the CMD results,
  • Related