bat command flash back problem

  Execute a command bat today, but there will be a problem: when double click to execute bat command, the command prompt screen will flash back.

  However, the bat properly execute commands on other people's computers, and I encounter this problem.

Here's how I tried:

  1. First, try to edit the bat command, the command to add a pause at the end of the bat to save. So, again double-click the bat command execution, command prompt interface still flash back.
  2. Then by means of the browser and identify the cause of this problem and solutions, https://blog.csdn.net/springontime/article/details/22659523 , this article's conclusion is: not only the BAT file itself can not contain the name inside the parentheses characters even BAT file naming and folder where the upper level folder can not contain parentheses. Similarly inferred, I run the bat file-level folder although there is no bracket, but there is a space "D: \ Program Files \ ...... ", he eventually decided to bat to cut a new command path.

After more than try, eventually bat command can be performed properly, flash back no longer occur.

(C language learned inside the character type, in general spaces, brackets belong to the same type of character, and so therefore there)

Guess you like

Origin www.cnblogs.com/BluthLeee/p/11199552.html