More Complex Batch Programming

 by Io kieran oI
Intro.jpg
In this Instructable I will be showing a more complex batch programming than my previous one. This will show 1 way of the if command and how to make he program save files for you. Lets get started.  
 
Remove these adsRemove these ads by Signing Up

Step 1: Using the if

Step One advanced batch Programming.jpg
This will show/tell you how to use the if I'll try to explain as i go along.

But we need to do something first, you see in the Program theres 'set /p userin1=' that will make 'userin1' what ever the user types so then with the  'if' it says (lets say userin1=hello but you will type %userin1%) 'if 'hello'=='hello' *command* so in the program it says:
if '%userin1%'=='no' goto new user. this shows that if the user types no then carry out this command with in this case is goto new user. And new user will make the user profile.

So if the player doesn't have a user account then it will make one. the next step will how you how you can do this.
SoulEater821 says: Mar 21, 2013. 6:23 AM
Very informative tutorial! Keep up the good work!
Io kieran oI (author) in reply to SoulEater821Apr 12, 2013. 3:48 AM
thanks nice to hear that im helping other :)
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!