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

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

    Great tip. It works with batch files that are running a java program also.

    start javaw -classpath "%CP%" main.Main
    

提交回复
热议问题