Because there is an error in the coding. Most likely a error causes the batch to go to the end or think it has fur filled its tasks. The easiest way to identify an error is to add pauses or msgs throughout the code so you can narrow the code down to a specific spot. From there you can correct the error. If you are inexperienced with batch coding or cannot get it to work, I recommend posting it on a TEC forum asking for someone to correct it.
Batch file that opens a program waits 5 seconds then closes that program. For some reason I cannot get this batch to perform the open portion, wait, then the close portion in .... startup batch file hangs up on second command.
If a batch file closes every time, it may have a problem. It might close after a certain period of time, or if it has remains inactive for a certain period of time.
If you are talking about the little red "X" mark on the batch window and you want to disable it so someone cannot close it, then there is no possible way to do that. The batch file scripts are very simple and cannot go as far as to disable a close button. Anyway, the person can easily exit the batch with the Ctrl + C combination. Plus, if that feature is allowed in batch files, you can run a lot of nasty stuff in there as the user cannot stop it, so that's not a option for your virus.
A batch file will close when it reaches the last line of code or an error.
the flue should be opened
Close minecraft and then reopen it. Repeat until working.
Go onto Google, type toomanyitems 1.7.3, click the link for the Minecraft Forums. Download it and open it. Next, you need to open the start menu, then search %appdata%. Open up you're .minecraft folder, and then open the bin folder. Then right click on the minecraft.jar file, and then open with -> Winrar archiver. Then just drag the files from the folder you downloaded into the folder you just opened. Then close both, then open minecraft.
The Ctrl + C combination. You an also use the Ctrl + Alt + Del combination, start Task Manager, and close the batch file from there.
instantly you @#$%*& idiot
kjio ^ couldn't you be more creative? xD
BEFORE YOU DO ANY OF THIS CLOSE MINECRAFT First, download winRAR, run and instal it and everything. then download Too Many Items and keep the window open. next, go to the start button at buttom left of your computer screen. type in %appdata% After that opens, double click the .minecraft folder, then double click the bin folder. the double click area where it says minecraft with a picture of some books on the left. then drag in the Too Many Items into the thing you opened from the .minecraft folder. once dragged in, delete the META-INF folder if it is in the folder. Lastly, close all and play minecraft. when you open minecraft, open your enventory and hit the letter "o"
3 hours and 15min that's if it is not close to the heart if it is close to the heart you will die instantly