R
R
Roman2015-12-27 16:26:20
Command line
Roman, 2015-12-27 16:26:20

Pass command from one batch file to another?

The situation is this. The batch file is launched, which in turn launches the game server in console mode in the same window. Further, this server intercepts control and interprets all subsequent commands as its own. I need to send commands from another batch file to this server at regular intervals. Is it possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2015-12-30
@OlafAndvarafors

If the server is able to accept commands - why not.
But if the server can only read the parameter string, it will do so only once at startup.
Usually they do it differently - either IPC (interprocess communication), or the server regularly reads the configuration file, the database itself. But without editing the server itself, no way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question