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

前端 未结 15 2075
猫巷女王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:23

    Create a .vbs file with this code:

    CreateObject("Wscript.Shell").Run "your_batch.bat",0,True
    

    This .vbs will run your_batch.bat hidden.

    Works fine for me.

提交回复
热议问题