Search found 8 matches
- 08 Jun 2011 15:20
- Forum: DOS Batch Forum
- Topic: Ending a program
- Replies: 3
- Views: 4466
Re: Ending a program
awesome, thank you
- 08 Jun 2011 12:43
- Forum: DOS Batch Forum
- Topic: Ending a program
- Replies: 3
- Views: 4466
Ending a program
Is there a way to end a program with batch? Like if I wanted a batch program to stop Windows Media Player, is this possible?
- 08 Jun 2011 02:40
- Forum: DOS Batch Forum
- Topic: Select Your Colors
- Replies: 12
- Views: 9873
Re: Select Your Colors
Your code, even though its short, has some problems. Like if you type an invalid set of characters (like blah or something) it gives this weird message and like spazzes out. Mine fixes that by having a goto colors at the end of each if groups, so if you type anything other than the options, it will ...
- 01 Jun 2011 14:32
- Forum: DOS Batch Forum
- Topic: Select Your Colors
- Replies: 12
- Views: 9873
Re: Select Your Colors
wow really? how would i go about doing this? Well, there's little purpose for this in the first place honestly. The first rule of programming is to never repeat yourself (unless absolutely necessary, and this almost never happens). Let the computer do it. This has no error handling, mind you. Wow, ...
- 01 Jun 2011 14:30
- Forum: DOS Batch Forum
- Topic: Select Your Colors
- Replies: 12
- Views: 9873
Re: Select Your Colors
basically, if you have your own little batch program, you can put this at the beginning of it and you can choose the colors of your batch program. Gives it a little menu for you to choose from
Hope this helps!
Hope this helps!
- 29 May 2011 16:51
- Forum: DOS Batch Forum
- Topic: Select Your Colors
- Replies: 12
- Views: 9873
Re: Select Your Colors
wow really? how would i go about doing this?
- 29 May 2011 12:42
- Forum: DOS Batch Forum
- Topic: Select Your Colors
- Replies: 12
- Views: 9873
Re: Select Your Colors
the %flee thing was the first line of my actual code. That's why i put it there, it was meant to be changed. And what do you mean about using my input directly?
- 29 May 2011 08:41
- Forum: DOS Batch Forum
- Topic: Select Your Colors
- Replies: 12
- Views: 9873
Select Your Colors
This is kind of long, and boring, but i made a batch file that will: 1.) Let you choose your text color 2.) Let you choose your background color This code is very long, so make sure you copy the whole thing. This was meant so you can put this into your own batch file. So here it is: :setstuff @echo ...