I execute a DOS batch in my Windows program (programmatically start the batch from my program running under Windows). How do I prevent the DOS window from flashing up? Thanks!
Since Start is an internal interpreter command you may have to code
cmd /C start "" /Min Batch_Name
Inside your Windows application launch the batch by issuing
start "" /Min Batch_Name
<(b>
That runs the batch minimized on the taskbar, not silently but almost stealth.
Thank you Ivo. I "unfortunately" program using WinDev and I can enter only one line into the function ExeRun(), which starts another executable or a batch. How would I apply your suggested solution to that? What is <(b> ? Thank you!
Sorry, <(b> is just a typo! What you have to enter is ONE line, i.e.
start "" /Min Batch_Name
Since Start is an internal interpreter command you may have to code
cmd /C start "" /Min Batch_Name
Thank you Ivo, it did work! Sorry for my late answer, I was ill for a week and could not work.
Best regards,
Zoltan
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |