Search found 6 matches
- 29 Nov 2011 18:51
- Forum: DOS Batch Forum
- Topic: just questions
- Replies: 10
- Views: 10695
Re: just questions
Thank you all. I hereby declare this thread done.
- 29 Nov 2011 18:50
- Forum: DOS Batch Forum
- Topic: just questions
- Replies: 10
- Views: 10695
Re: just questions (SOLVED)
Through thorough experimentation that stretched my 15 yr old mind to its limits, I have solved my problem using this code: set /p "$input= " set $input="%$input%" With this, the user can enter as many words and spaces as they desire with no issue. I'm so proud of myself, I can al...
- 27 Nov 2011 14:12
- Forum: DOS Batch Forum
- Topic: just questions
- Replies: 10
- Views: 10695
Re: just questions
actually, nm.
- 27 Nov 2011 13:54
- Forum: DOS Batch Forum
- Topic: just questions
- Replies: 10
- Views: 10695
Re: just questions
Okay. Now I'm trying to set "choice1" to "look around" (no quotes.)
I keep getting an error and then it closes.
I keep getting an error and then it closes.
- 27 Nov 2011 12:07
- Forum: DOS Batch Forum
- Topic: just questions
- Replies: 10
- Views: 10695
Re: just questions
Thank you. But whenever I use "set/p input" and type in a space, the window closes. why?
- 26 Nov 2011 20:51
- Forum: DOS Batch Forum
- Topic: just questions
- Replies: 10
- Views: 10695
just questions
I'm trying to make a game using DOS code, notepad, and a .bat extension. How do I prevent the program from closing when the the user types in a space? How do I set a single variable to echo something on multiple lines? Like this... variable=( echo blah blah echo yadda yadda ) And how do I use the go...