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 WinExecOr 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,