Search found 9 matches
- 31 Jul 2013 00:16
- Forum: DOS Batch Forum
- Topic: ifs and sets in the same line of code???
- Replies: 7
- Views: 4650
Re: ifs and sets in the same line of code???
thanks that worked it's been bugging me for days
- 30 Jul 2013 22:34
- Forum: DOS Batch Forum
- Topic: ifs and sets in the same line of code???
- Replies: 7
- Views: 4650
Re: ifs and sets in the same line of code???
Any other ideas guys as so far this is drawing a blank. Your patience and time are appreciated guys oh and girls
- 30 Jul 2013 14:39
- Forum: DOS Batch Forum
- Topic: ifs and sets in the same line of code???
- Replies: 7
- Views: 4650
Re: ifs and sets in the same line of code???
unfortunately neither of those were right although the
wasn't something I'd spotted. thanks
Code: Select all
set /p platform=
wasn't something I'd spotted. thanks
- 30 Jul 2013 14:18
- Forum: DOS Batch Forum
- Topic: ifs and sets in the same line of code???
- Replies: 7
- Views: 4650
- 30 Jul 2013 13:40
- Forum: DOS Batch Forum
- Topic: ifs and sets in the same line of code???
- Replies: 7
- Views: 4650
ifs and sets in the same line of code???
Can't seem to get this to work right for me now i'm wondering if it is possible to do. :itemspec echo. echo Which platform would you like to mod? echo 1 Nes echo 2 Master System echo please enter category number set /p %platform%= if %platform%== 1 set %platform2%=Nes" if %platform%== 1 goto Ne...
- 10 Jul 2013 04:34
- Forum: DOS Batch Forum
- Topic: saving and loading to a separate file using batch
- Replies: 6
- Views: 6123
Re: saving and loading to a separate file using batch
Thanks for all your help hopefully this will help me get started with what I'm aiming for. Which is a street racing text adventure where you can buy and tune up a car and race. The plan is to build up the adventure with different batch files initially in separate parts and to help me keep track of t...
- 09 Jul 2013 10:24
- Forum: DOS Batch Forum
- Topic: saving and loading to a separate file using batch
- Replies: 6
- Views: 6123
saving and loading to a separate file using batch
Right so now I'm getting to grips with the fun that is batch programming I wanted to know if the following ideas are possible. Can I create a text adventure which will have an inventory. The inventory should ideally be another text document or something similar maybe another batch file. e.g Inventor...
- 08 Jul 2013 09:22
- Forum: DOS Batch Forum
- Topic: batch programming help
- Replies: 3
- Views: 3669
Re: batch programming help
That worked perfectly, I'm just playing with a basic script i found on the net and set /p was used after inputs I wasn't sure if that was the correct way to set it (although it wasn't working but it's now sorted thanks a million
- 08 Jul 2013 07:26
- Forum: DOS Batch Forum
- Topic: batch programming help
- Replies: 3
- Views: 3669
batch programming help
wondered if you could help hopefully you can tell what I'm doing with this: :hexvalues set /p hex1=02ac08 set /p hex2=953fcd set /p hex3=fb0ca6 set /p hex4=69fa87 set /p hex5=34bae9 I want is so that when I put %hex1% etc after an echo is will show as 02ac08 I don't think this is correct but this is...