Hide Command Window of .BAT file that Executes Another .EXE File

前端 未结 15 2180
猫巷女王i
猫巷女王i 2020-12-02 12:50

This is a batch file in Windows.

Here is my .bat file

@echo off
copy \"C:\\Remoting.config-Training\" \"C:\\Remoting.config\"

\"C:\\ThirdPar         


        
15条回答
  •  醉酒成梦
    2020-12-02 13:21

    To make the command window of a .bat file that executes a .exe file exit out as fast as possible, use the line @start before the file you're trying to execute. Here is an example:

    (insert other code here)
    @start executable.exe
    (insert other code here)
    

    You don't have to use other code with @start executable.exe.

提交回复
热议问题