Reputation: 64747
I would like to run program from windows console(cmd.exe) and close console after that. now when i do it the console stays opened as long as the program is running.
I would like it to start program, close console and use program.
I double click the batch
@c:\somedir\app.exe
Upvotes: 1
Views: 2635
Reputation: 1434
Use start
START "title" [/Dpath] [options] "command" [parameters]
Example: start /B "Test" program.exe
Upvotes: 6
Reputation: 6212
I'm not running Windows right now so I can't try it out, but have you looked into start
? You can find more information here.
Another option might be call
.
Upvotes: 1