Hi I need to run a batch file from within my application
this is how I do it
ShellExecute(Handle, 'open', '.\update.bat', nil, nil,
It works fine. However the window does not automatically close although it
has been terminated. I have to manually click on the x each time and this is
quite irritating because the file is executed every few minutes.
Any help would be greatly appreciated. Thanks