Martint Posted August 8, 2006 Report Share Posted August 8, 2006 (edited) Hey guys, I'm making this patch for this game server.Basically, what it does is, if you start it it will give you two choicesNow, I was wondering what operating system supports batch files? (.bat I guess).I know XP Home does, but what about the eariler ones?Mainly, 98, ME,2000 and the new vista.Thanks, btw if anyone wants to make the batch file for me it will be great (I know only basic things about it)Basically, I want it do this:Blah Blah Some Text Here. I will add the text. Blah Blah. Blah Blah.Which server do you want to play in?1) Server One2) Server TwoIf they click Server One, then server1.exe starts upIf they click Server Two, thenserver2.exe starts upThanks guysBtw, server1 and server.2 will be in the same folder as the batch file. Edited August 8, 2006 by Martint Quote Link to post Share on other sites
bearskin Posted August 8, 2006 Report Share Posted August 8, 2006 well I don't know anything about writing .bat files but all windows machines should support .bat files.I know windows 3.1 did. Quote Link to post Share on other sites
JDoors Posted August 8, 2006 Report Share Posted August 8, 2006 I know '9x supports BAT files, I don't remember how to do what you need. Quote Link to post Share on other sites
jsbowen Posted August 8, 2006 Report Share Posted August 8, 2006 I don't have time to actually write this out for you, but the CHOICE command will make this very easy.http://www.cs.ntu.edu.au/homepages/bea/hom...escription.html Quote Link to post Share on other sites
shanenin Posted August 8, 2006 Report Share Posted August 8, 2006 I was going to write it, but soon realized batch files give me a headache. Is it an option to wirte the script with python? I could do that in a minute. Quote Link to post Share on other sites
Matt Posted August 15, 2006 Report Share Posted August 15, 2006 Something like this (should work on xp and 2k):@echo offcolor 1eTITLE Server Selectecho ºººººººººººººººººººººººººººººººººººººººººº echo º ºecho º Sever Select ºecho º ------- ºecho º ºecho º 1. Run ºecho º ºecho º 2. Exit ºecho º ºecho º ºecho ºººººººººººººººººººººººººººººººººººººººººº echo.set /p start={1,2,}if '%start%'=='1' GOTO RUNif '%start%'=='2' GOTO EXIT:Exitexit:RUNclsecho Select Server:echo.echo 1. Server Oneecho 2. Server Twoecho.set /p server={1,2,}if '%server%'=='1' GOTO oneif '%server%'=='2' GOTO twocls:onestart server1.exeexit:twostart server2.exeexit Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.