i really am having trouble with CMD... so, my problem is i made a program, not too exiting, tells a story that's it. but it has no delay, so i open it, BAM! it autocloses in 0.5 secs. also, if anybody knows how to make CMD wait until the command is needed, (example: MSG * Hello! (DELAY UNTIL CLICK OR SOME SORT OF AUTHORIZATION) or just how to make a delay in between commands, please show and tell how. Thanks!
@kerbal1234(View Post) I know this problem isn't what you're looking for, but I seriously suggest you try learning a scripting language like Python, Perl, LUA, etc. It will give you a lot more functionality and actual programming experience. If you do, find a good, detailed tutorial, and READ IT ALL. Once your over that first road block of confusion it will be simply learning functions/syntax. Always experiment when learning a new language too. For batch scripting, pause is your only real way, like I said, batch is extremely limited.
@kerbal1234(View Post) I don't mean to just repeat what everyone else just said though batch isn't really the best choice for doing things like that. It's good for some things though that is one thing it most certainly is not.
Indeed. The only reason I use batch is to make adventure rpg games (text based) or tycoon games. Its really easy, so its something I do on a day I don't want to think... about 98% of the year.
EDIT: I also make programs so that I can easily access different folders and programs without navigating.