Start Servers | Close Servers

Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  1. #1
    Banned aldieri is offline
    BannedRank
    Oct 2008 Join Date
    ArizonaLocation
    250Posts

    Start Servers | Close Servers

    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:
    Spoiler:

    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:
    Spoiler:

    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 by aldieri; 18-07-10 at 05:22 AM.


  2. #2
    Enthusiast yuie is offline
    MemberRank
    Jul 2010 Join Date
    44Posts

    Re: Start Servers | Close Servers

    Nice.. thanks for the info..

  3. #3
    We are Maverick! Dell Honne is offline
    MemberRank
    Feb 2009 Join Date
    ON, CanadaLocation
    3,271Posts

    Re: Start Servers | Close Servers

    Ohhh good old bat file to start up servers hahaha.

    Thanks for it.

  4. #4
    Banned aldieri is offline
    BannedRank
    Oct 2008 Join Date
    ArizonaLocation
    250Posts

    Re: Start Servers | Close Servers

    Quote Originally Posted by Dell Honne View Post
    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.

  5. #5
    Apprentice Sleet is offline
    MemberRank
    Jun 2010 Join Date
    No where, KSLocation
    20Posts

    Re: Start Servers | Close Servers

    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? :-|)

  6. #6
    Banned aldieri is offline
    BannedRank
    Oct 2008 Join Date
    ArizonaLocation
    250Posts

    Re: Start Servers | Close Servers

    Quote Originally Posted by Sleet View Post
    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.

  7. #7
    Apprentice Sleet is offline
    MemberRank
    Jun 2010 Join Date
    No where, KSLocation
    20Posts

    Re: Start Servers | Close Servers

    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 by Sleet; 18-07-10 at 08:45 AM.

  8. #8
    Member volonter is offline
    MemberRank
    Oct 2009 Join Date
    77Posts

    Re: Start Servers | Close Servers

    Working great on my computer! Had to change the second before starting bevause it was starting too fast the server xD Thanks!

  9. #9
    Trust your senses Gravious is offline
    MemberRank
    Sep 2009 Join Date
    NetherlandsLocation
    713Posts

    Re: Start Servers | Close Servers

    To help you guys out with Windows XP or any other OS without taskkill.exe, follow these instructions.

    1. Download taskkill.exe here: taskkill.exe
    (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.

  10. #10
    Apprentice Sleet is offline
    MemberRank
    Jun 2010 Join Date
    No where, KSLocation
    20Posts

    Re: Start Servers | Close Servers

    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)

    Virus Report

  11. #11
    Banned aldieri is offline
    BannedRank
    Oct 2008 Join Date
    ArizonaLocation
    250Posts

    Re: Start Servers | Close Servers

    Quote Originally Posted by Sleet View Post
    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)

    Virus Report
    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.

  12. #12
    Infraction Banned BGxApixen is offline
    MemberRank
    May 2009 Join Date
    939Posts

    Re: Start Servers | Close Servers

    Andrewww, you little narb.

    Nice release.

  13. #13
    Apprentice Sleet is offline
    MemberRank
    Jun 2010 Join Date
    No where, KSLocation
    20Posts

    Re: Start Servers | Close Servers

    Quote Originally Posted by aldieri View Post
    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.

  14. #14
    Banned aldieri is offline
    BannedRank
    Oct 2008 Join Date
    ArizonaLocation
    250Posts

    Re: Start Servers | Close Servers

    Quote Originally Posted by Sleet View Post
    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.

  15. #15
    PENTAKILL Scratch is offline
    MemberRank
    Oct 2008 Join Date
    LiverpoolLocation
    3,173Posts

    Re: Start Servers | Close Servers

    pro stuff 8D

    using it 8D



Page 1 of 2 12 LastLast

Advertisement