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
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