Experienced Elementalist
- Joined
- Mar 23, 2009
- Messages
- 239
- Reaction score
- 17
start1:
Process.Start(@"C:\rserv\source\start.bat");
Thread.Sleep(600000);
Process.Start(@"C:\rserv\source\stop.bat");
Thread.Sleep(1000);
goto start1;
1) Name the main folder "rserv".
2) Inside of that, name the secondary folder "source".
3) Now, find the thing that is like "serverstart" or "serverstart" etc, and name it "start" (If you have the extensions showing, name it "start.bat")
4) Put stop.bat inside of the secondary folder "source" (I will provide you with the stop.bat)
5) Start the appliaction "ServerRestart.exe" and choose something.