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
One way to 'minimise' the cmd window is to reduce the size of the console using something like...
echo DO NOT CLOSE THIS WINDOW
MODE CON COLS=30 LINES=2
You can reduce the COLS to about 18 and the LINES to 1 if you wish. The advantage is that it works under WinPE, 32-bit or 64-bit, and does not require any 3rd party utility.