How can I run a program from a batch file without having the console open after the program start?
For the moment my batch file look like this:
The program start but the Dos Windows still open... how can I close it?
You can use the exit keyword. Here is an example from one of my batch files:
start myProgram.exe param1 exit
Use the start command to prevent the batch file from waiting for the program. Just remember to put a empty double quote in front of the program you want to run after "Start". For example, if you want to run Visual Studio 2012 from a batch command:
Start "" "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"
notice the double quote after start.