How would you minimize a running windows service using batch file or cmd lets say firefox.exe to start up and run minimized or minimized to system tray?
            Asked
            
        
        
            Active
            
        
            Viewed 5,497 times
        
    0
            
            
        - 
                    2Do any of these asnwers point you in the right direction: http://stackoverflow.com/questions/2106723/how-to-minimize-the-command-prompt-when-running-a-batch-script – Kane Apr 01 '13 at 07:57
 - 
                    not very helpful ... talks on minimizing the cmd – Jimmy Obonyo Abor Apr 01 '13 at 08:00
 - 
                    3@jimmyobonyo Its the same thing if you call **start /min firefox** it will start minimized. However theres a caveat dont do this with Firefox window open because then it will not do this, unless you start a new session. There is no way for batch to start things in the system tray unless the software itself has switches for this. But then that's not a batch issue – joojaa Apr 01 '13 at 08:21
 
1 Answers
3
            You call start /min firefox it will start minimized. However theres a caveat dont do this with Firefox window open because then it will not do this, unless you start a new session. There is no way for batch to start things in the system tray unless the software itself has switches for this. But then that's not a batch issue
        Jimmy Obonyo Abor
        
- 7,335
 - 10
 - 43
 - 71