How do I minimize the command prompt from my bat file

前端 未结 12 847
攒了一身酷
攒了一身酷 2020-12-02 14:15

I have this bat file and I want to minimize the cmd window when I run it:

@echo off
cd /d C:\\leads\\ssh 
call C:\\Ruby192\\bin\\setrbvars.bat
ruby C:\\leads         


        
12条回答
  •  猫巷女王i
    2020-12-02 14:54

    Another option that works fine for me is to use ConEmu, see http://conemu.github.io/en/ConEmuArgs.html

    "C:\Program Files\ConEmu\ConEmu64.exe" -min -run myfile.bat
    

提交回复
热议问题