Search code examples
batch-filestartupbatch-processing

How to create a .BAT file opening program and preventing it from opening new windows?


So I am starting a consol program from .bat file. I want it to run as a process but not showing any windows. How to do such thing?


Solution

  • I think the start command with a '/B' option should do it ...

    Windowless:

    @echo off
    start /B Myapp.exe
    

    Minimized:

    @echo off
    start /MIN Myapp.exe