Close Windows command prompt after starting program using batch file

99 views
0

I have simple Windows batch file (.bat) which starts program but when we call this batch file it starts the program successfully but Windows command prompt remains on screen and it closes when we close the program which was started using batch file.

How can I set to close windows command prompt automatically once program is started?

1

By default Windows command prompt will be closed when you close your program which was started using batch file. To close Windows command prompt, you can use “start” command to start any program as follow:

start “” path-to-your-program

The above command will close Windows command prompt once your program is started.

Bloom Email Optin Plugin