1.

Solve : Bug...?

Answer»

In some batch files, when I click on them, it open and close automatically and I don't have time to do anything...
WHY?create this batch file

Code: [SELECT]cmd /k %1
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 ERROR in the code. To see error messages etc you NEED to start the batch file from the prompt by typing its name.
But how to run the batch file WITHOUT this "bug" (call 'd the way you want) Quote from: HP2 on September 06, 2010, 12:32:16 PM

But how to run the batch file without this "bug" (call 'd the way you want)

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?




Discussion

No Comment Found