HELP | Command Line .bat file

Status
This thread has been locked.

IAmVolvic

Supreme
Feedback score
4
Posts
177
Reactions
49
Resources
0
I am new to this so I need little help with this

Code:
@echo off

TITLE Kill Server

echo "Killing Bungie (Please Wait)."
timeout 30 >nul

SEND COMMAND TO ---> "WindowTitle eq  Administrator:  BungeeCord CMD"

timeout 30 >nul
taskkill /F /FI "WindowTitle eq  Administrator:  BungeeCord CMD" /T >nul
timeout 5 >nul

exit


looking at the code, you can see I want to send a message/command to the program/cmd line ) But I have no idea how to do that.

What it is meant to do is send a command to the other command line like,Wait 30 seconds then Please save (COMMAND) , then wait 30 seconds then kill the command then exit.
 
Status
This thread has been locked.
Top