1.

Solve : Bug...?

Answer» <html><body><p>In some batch files, when I click on them, it open and close automatically and I don't have time to do anything... <br/><strong>WHY?</strong>create this batch file<br/><br/> Code: <a>[<a href="https://interviewquestions.tuteehub.com/tag/select-630282" style="font-weight:bold;" target="_blank" title="Click to know more about SELECT">SELECT</a>]</a>cmd /k %1<br/>then drag the non working batch file it will tell you the errorThis is not a "bug". It is normal. If you start a batch script by double clicking its icon in Windows Explorer it will start in a command window which will vanish when the script terminates. It might be a natural ending or a premature one if there is an <a href="https://interviewquestions.tuteehub.com/tag/error-25548" style="font-weight:bold;" target="_blank" title="Click to know more about ERROR">ERROR</a> in the code. To see error messages etc you <a href="https://interviewquestions.tuteehub.com/tag/need-25476" style="font-weight:bold;" target="_blank" title="Click to know more about NEED">NEED</a> to start the batch file from the prompt by typing its name.<br/>But how to run the batch file <a href="https://interviewquestions.tuteehub.com/tag/aeuroewithout-1475023" style="font-weight:bold;" target="_blank" title="Click to know more about WITHOUT">WITHOUT</a> this "bug" (call 'd the way you want) Quote from: HP2 on September 06, 2010, 12:32:16 PM</p><blockquote>But how to run the batch file without this "bug" (call 'd the way you want)<br/></blockquote> <br/>It isn't a bug, Bill, as you well know. Furthermore, the answer is in my post above, which you should read more attentively. You probably know this too. Did Big get banned?<br/><br/><br/></body></html>


Discussion

No Comment Found