Windows 10: Run and interact with 2 programs using batch

Discus and support Run and interact with 2 programs using batch in Windows 10 Ask Insider to solve the problem; Hello, I currently use my PC to run a Minecraft server. Every time I restart my PC I have to run the server start program and then run another program... Discussion in 'Windows 10 Ask Insider' started by /u/Sami6494, Feb 9, 2020.

  1. Run and interact with 2 programs using batch


    Hello, I currently use my PC to run a Minecraft server. Every time I restart my PC I have to run the server start program and then run another program to open the port. Is there a way to use a batch file that I can just click on and it runs these 2 programs. The second program is a cmd prompt and I need to type in a command to open the port. Can I also use this with batch, thanks!

    submitted by /u/Sami6494
    [link] [comments]

    :)
     
    /u/Sami6494, Feb 9, 2020
    #1

  2. Batch program help

    thepollock89 FordGT90Concept is right. You could write it so much easier with vb and it would be much easier for the end user to add data to your database. If you are just doing this to achieve a goal of I did it, and not something someone would use daily... Then why not try using something to help you do what you want.. Like Ford suggested have the batch call a program like "sed".. Only thing is Sed is a Unix program, but it has been ported to Win32 here. *Toast :toast: aahhh I just thought of my old RS6000.. :d


    ^^ This! *Toast :toast:
     
    Mindweaver, Feb 9, 2020
    #2
  3. 3Colors Win User
    Windows Updated(16299.309).KB4088776 Restart is required to complete.


    Hi dalchina. Good news, I followed your suggestion and reinstalled the update and now it appears as "installed correctly" *Biggrin Maybe it was not necessary to run the Windows Update Troubleshooter or maybe if necessary. But using it I do not think it could have worsened something. The installation was very fast, unlike the first time it showed step 1 and step 2 completed.

    Thanks for the suggestions and for the time to respond Run and interact with 2 programs using batch :) Best regards.


    And thanks for the tip of that program, I'll have it on my list.
     
    3Colors, Feb 9, 2020
    #3
  4. djmcnz Win User

    Run and interact with 2 programs using batch

    running DOS as ADMIN

    I assume you don't have 'exit' anywhere in your batch file?

    Rather than playing with 'pause' - if you want to see the output...

    1. Open a command window as admin
    2. Run the batch file manually
    3. Command window will not close unless the 'exit' command is issued
    4. Read output
    That's the first step I'd take to diagnose. Then run every line in your batch file manually, one-by-one, in your admin command window (copy and paste from the actual batch file, don't retype the commands).

    You'll soon find your problem.
     
    djmcnz, Feb 9, 2020
    #4
Thema:

Run and interact with 2 programs using batch

Loading...
  1. Run and interact with 2 programs using batch - Similar Threads - Run interact programs

  2. Cant run Batch file

    in Windows 10 Gaming
    Cant run Batch file: When i try to run a batch file all it says is this app can't run on your pc i tried going to my property and going to compatibility but it isn't there im on windows 11 btw but if someone can pls help...
  3. Cant run Batch file

    in Windows 10 Software and Apps
    Cant run Batch file: When i try to run a batch file all it says is this app can't run on your pc i tried going to my property and going to compatibility but it isn't there im on windows 11 btw but if someone can pls help...
  4. Can't interact with certain Windows Programs

    in Windows 10 Gaming
    Can't interact with certain Windows Programs: Hi! For some reason I'm unable to click on some Microsoft apps with my mouse. I can use my keyboard to interact with them but, nothing with my mouse. For example, Power Toys loads up but, I can't click on anything! All I can do is move the window around but I can't click on...
  5. Can't interact with certain Windows Programs

    in Windows 10 Software and Apps
    Can't interact with certain Windows Programs: Hi! For some reason I'm unable to click on some Microsoft apps with my mouse. I can use my keyboard to interact with them but, nothing with my mouse. For example, Power Toys loads up but, I can't click on anything! All I can do is move the window around but I can't click on...
  6. Batch Scripts / Programs.

    in Windows 10 Performance & Maintenance
    Batch Scripts / Programs.: The members and quests who use this forum know how professional, informative and helpful it is! In order to help members solve their problems/issues we often ask them to run certain programs and perform certain tasks and then upload [ post ] the results to the forum for us...
  7. Uninstall programs using batch file(Mainly antivirus)

    in Windows 10 Installation and Upgrade
    Uninstall programs using batch file(Mainly antivirus): I am trying to write a batch file to find antivirus installed on Windows 7,8,10. The need is like the project is trying to change firewall rules as per requirement for client machines. The clients who are windows machines should have a firewall configured with certain...
  8. Automatically Run Batch Script

    in Windows 10 Installation and Upgrade
    Automatically Run Batch Script: Hi everyone When the windows installation is finished, automatically run batch script. How can I do that? Thanks *Wink 122531
  9. Running an uneditable Batch file

    in AntiVirus, Firewalls and System Security
    Running an uneditable Batch file: Hi people, Got a task to run a certain CMD command on a number of PCs as administrator. So I thought i would create a batch file doing this. This is not the issue. The issue is that I am unable to lock down successfully so people cannot just edit the file to see the admin...
  10. How to create a batch file to run a program at high priority?

    in Windows 10 Software and Apps
    How to create a batch file to run a program at high priority?: I have tried many ways for changing and saving the priorities to high, for games I play,and they succeeded,but only for one game the priority saves only as ''Above normal'' ! How do I fix this? Please help me!Thanks!