Run batch files invisible mode or minimized

The process take 3 files. one launch.bat one invis.vbs and one (your program)

in launch.bat(this files runs your program silently) put in…

wscript.exe “C:\yourpath\invis.vbs” “your file.bat”

in invis.vbs put…

CreateObject(“Wscript.Shell”).Run """" & WScript.Arguments(0) & """", 0, False

and finaly in your file put whatever u want…

echo off
erase c:\junk.txt

well your done just open up launch.bat

About the author

I work with customers helping them achieve more using Microsoft Technologies. I am in my 9th year with Microsoft as of March 2020. I get to work with really smart people (both at Microsoft and Customers). Helping customers, removing any blockers, rapid prototyping is my core work.