batch file problem, getting lost the prompt
From
Wendelin Uez@21:1/5 to
All on Fri Jul 5 15:06:49 2024
I have written a .bat file whcih is started with one or two parameters (the second is optional) and which does some work combining variables depending from then these 2 parameters and to start several times an external time consuming windows app.
To start this .bat file a standard DOS window is opend (I know, it's not
real DOS), the .bat filename and its options are entered as a command line
and startet by ENTER key.
This all works fine. The external windows app takes about 2..10 seconds each time depending from the parameters, executes always correctly and closes its window, and in the DOS box the next prompt is shown again.
Usually, only, because sometimes the system seems not to return to the DOS
box, even when the .bat file terminated after executing an ECHO ***done*** message, and does not show again the DOS prompt.
Neither the .bat file nor the Windows app is calling an additional dos box,
and no input redirection via "<" applies.
What can be the reason for getting lost the prompt? It defiitifly does not depend from the parameters, the same parameters might work or sometimes
steal the prompt.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)