Topic: Closing Bat of application by other Batnikom (*.Bat)
Kind time of days!
there is an application which works through a bat-file (it is not launched, namely works in it), and it is necessary for closing other bat-file, or to restart it with the fact of the full closing (at a bat-file there are adjustments which are necessary for nullifying).
Application is launched in a bat-file and in the manager of tasks is displayed as process cmd.exe.
Taskkill can complete application inside , but the window and process in the manager of tasks cmd.exe remains, and it is necessary that at the same time was closed also itself (as at dagger pushing).
Unfortunately at start 2 the command/f/im taskkill cmd.exe removes it, instead of the first which works with application... As tried on ID process, but it at each new start changes
Actually the first start.bat (with application):
HDZ955FBK4DGI.exe (here any parameters of adjustment of operation of application)
The second timeout200.bat :
start C:\Program files\PHN3\start.bat
taskkill/f/im cmd.exe (on this moment I stuck:confused:)
If there are any other working variants, will be glad if offer!