I'm running a couple Bukkit Minecraft servers and they use cmd as console. My question is it possible to write a bat code that types /stop into every one of my servers i have open. I know its not essential but i was just wondering.
Is it possible to write a line in a batch file to write into another batch file?
Devin
I THINK what you need to do is:
echo /stop >>{BAT file name}
The double > means append. I'm not sure how well the ECHO command works anymore. As far as I know, there's no way to use a wildcard to specify the BAT file to modify - each must be listed.
Jim
What you are asking is to have a bat file type /stop into multiple cmd prompt windows (not bat… Bat is a script, cmd prompt is the actually window). That being said, I don't believe it is possible with bat files to write to multiple already open cmd prompts
Nunya