• Hi there and welcome to PC Help Forum (PCHF), a more effective way to get the Tech Support you need!
    We have Experts in all areas of Tech, including Malware Removal, Crash Fixing and BSOD's , Microsoft Windows, Computer DIY and PC Hardware, Networking, Gaming, Tablets and iPads, General and Specific Software Support and so much more.

    Why not Click Here To Sign Up and start enjoying great FREE Tech Support.

    This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I run two .bat files in sequence

Status
Not open for further replies.
I am using a Window Manager program that won't run at logon even though the "start when Windows starts" box is checked. I put it in the startup folder and it starts when I logon but the window remains open until I manually close it. I want it to start the program and have it minimized to the tray automatically. I have created 2 .bat files, one opens the program and the other closes it to the tray. I have tried many different scripts but I don't know how to create a script that runs both steps in the process. When I place both batch scripts in one .bat only the first script is executed. I have tried the popular 3rd party softwares but none of them effects the program. Can anyone help me with a solution that will run both scripts in one .bat file? I've worked on this for two days and I cannot find a solution. I can't get the "call" command to work and task sechduler dosen't help.
 
Would probably be simpler if you supplied the .bat scripts so we can look at them.

What about just having both .bat files in the Startup folder?
Don't forget, instead of the .bat file, make it a shortcut and shortcuts can be made to run minimised if that helps.
 
Status
Not open for further replies.