Home > Net >  C # to open the bat file flash back
C # to open the bat file flash back

Time:10-06

System. Diagnostics. Process. Start to open the BAT file in his computer test no problem, on the other computer flash back, open the other computer can double-click the BAT file open, local bosses ~

CodePudding user response:

In @ echo off the bat with rem commented, ProcessStartInfo RedirectStandardError, RedirectStandardOutput full open, read at the end of the process output and standard error output,

CodePudding user response:

Not in administrator mode to open it

CodePudding user response:

You yourself using CMD first perform the bat file see if there is something wrong with the inside of the grammar itself

CodePudding user response:

reference 3 floor XBodhi. Response:
you oneself use CMD to perform the first bat file to see whether there is something wrong with the inside of the grammar itself


On your computer to run (A), in computer B can not run, computers can run in c ~ ~ ~
  •  Tags:  
  • C#
  • Related