Start Servers | Close Servers

Status
Not open for further replies.
🚫
Exiled
Joined
Oct 14, 2008
Messages
246
Reaction score
124
Was bored and when I was testing some things out I got sick of opening each file individually so I made a simple batch file script that will open all programs at the same time, waiting 3 seconds in between each and it will also start the exe's minimized.

Code:
start /MIN /d "PATH TO FOLDER WITH EXE #1" EXEName.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "PATH TO FOLDER WITH EXE #2" EXEName.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "PATH TO FOLDER WITH EXE #3" EXEName.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "PATH TO FOLDER WITH EXE #4" EXEName.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "PATH TO FOLDER WITH EXE #5" EXEName.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "PATH TO FOLDER WITH EXE #6" EXEName.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "PATH TO FOLDER WITH EXE #7" EXEName.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "PATH TO FOLDER WITH EXE #8" EXEName.exe

Example:
start /MIN /d "C:\Users\Andrew\Desktop\Stuff\Save 7-2-2010\Server Files\Server\Program" 1.AccountServerv15.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "C:\Users\Andrew\Desktop\Stuff\Save 7-2-2010\Server Files\Server\Program" 2.Certifierv15.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "C:\Users\Andrew\Desktop\Stuff\Save 7-2-2010\Server Files\Server\Resource" DatabaseServerV15.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "C:\Users\Andrew\Desktop\Stuff\Save 7-2-2010\Server Files\Server\Program" 4.CoreServerv15.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "C:\Users\Andrew\Desktop\Stuff\Save 7-2-2010\Server Files\Server\Program" 5.LoginServerv15.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "C:\Users\Andrew\Desktop\Stuff\Save 7-2-2010\Server Files\Server\Program" 6.CacheServer.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "C:\Users\Andrew\Desktop\Stuff\Save 7-2-2010\Server Files\Server\Resource" WorldServerv15_noMapkey.exe
ping 127.0.0.1 -n 3 > nul
start /MIN /d "C:\Users\Andrew\Desktop\Stuff\Save 7-2-2010\Server Files\Server\Anti-Hack" 8.packetfilter.exe

Stop/Close your Server Files.

Code:
taskkill /IM EXEName.exe
taskkill /IM EXEName.exe
taskkill /IM EXEName.exe
taskkill /IM EXEName.exe
taskkill /IM EXEName.exe
taskkill /IM EXEName.exe
taskkill /IM EXEName.exe
taskkill /IM EXEName.exe

Example:
taskkill /IM 1.AccountServerv15.exe
taskkill /IM 2.Certifierv15.exe
taskkill /IM DatabaseServerV15.exe
taskkill /IM 4.CoreServerv15.exe
taskkill /IM 5.LoginServerv15.exe
taskkill /IM 6.CacheServer.exe
taskkill /IM WorldServerv15_noMapkey.exe
taskkill /IM 8.packetfilter.exe

1. To Make a Batch File, just make a new Text Document Using Notepad.
2. Then type in the script you want to use/Copy it in.
3. Click SaveAs, if you want the name to be 'Start' You will put the FileName as Start.bat
4. Then you will have to make 'Save as Type' to 'All Files'.
 
Last edited:
Ohhh good old bat file to start up servers hahaha.

Thanks for it.

Yea, I saw alexsh released one ages ago but deleted it bc everyone was jackasses, so Decided to make one and toss it on here. :ott1::ott1::ott1:
 
Thanks much for the scripts. Thought I'm not sure about how to go about using the taskkill as it seems to not be a normal batch entry (I can't seem to find a correct way to close programs through batch; google ftw? :-|)
 
Thanks much for the scripts. Thought I'm not sure about how to go about using the taskkill as it seems to not be a normal batch entry (I can't seem to find a correct way to close programs through batch; google ftw? :-|)

Taskkill works fine, but remember I did make this on windows 7 so they might have changed certain cmds from xp and what not, not too sure about that.
 
Yea, XP user here lol
Anyways I'll see if I can't find anything about a program killer command for xp

Edit: Found out taskkill was put in xppro and up; So my home edition fails right now lol anyways I'll keep looking around for now xD

Edit2: Found a taskkill program so I'm set thx :3
 
Last edited:
Working great on my computer! Had to change the second before starting bevause it was starting too fast the server xD Thanks!
 
To help you guys out with Windows XP or any other OS without taskkill.exe, follow these instructions.

1. Download taskkill.exe here:
(I have no virus scan available yet, but believe me, this is not infected with anything)

2. Save taskkill.exe somewhere
3. Open this folder: C:\Windows\System32
4. Put the taskkill.exe in C:\Windows\System32
5. Use the script aldieri made, and everything should work fine.
 
Here is a virus report lol just in case people aren't so sure about it. (There aren't any viruses but lol here is link to prove it)

 
Here is a virus report lol just in case people aren't so sure about it. (There aren't any viruses but lol here is link to prove it)


Bat files will always show as a virus (atleast on my AV might be gay windows alerts though..), unless made on your own comp, like downloading .bats you'll always get a warning, bc they are executing commands in cmd prompt, if your unsure if these are virus's just google 'cmd prompt commands' and check each command yourself.
 
Bat files will always show as a virus (atleast on my AV might be gay windows alerts though..), unless made on your own comp, like downloading .bats you'll always get a warning, bc they are executing commands in cmd prompt, if your unsure if these are virus's just google 'cmd prompt commands' and check each command yourself.

Guess I have to explain more on link... its not a batch file virus report ....
Its a report of the Taskkill.exe
(figured that was kind of thought of since previous post was about it but I guess I figured wrong ...)

P.S. Don't think of that as mean, just simply thought ppl would see the two posts next to each other and kind of figure it out, or even click it and say taskkill.exe on the report.
 
Guess I have to explain more on link... its not a batch file virus report ....
Its a report of the Taskkill.exe
(figured that was kind of thought of since previous post was about it but I guess I figured wrong ...)

P.S. Don't think of that as mean, just simply thought ppl would see the two posts next to each other and kind of figure it out, or even click it and say taskkill.exe on the report.

It wasn't taken as mean, I just decided to explain why most if not all batch files will give you a warning or say its a virus. :love::love:
 
Status
Not open for further replies.
Back