Using a trigger I am calling this:
exec Master..xp_cmdshell 'c:\temp\temp.bat', no_output
Temp.bat contains the following :
@echo on
calc.exe
exit
'This will close temp.bat, but leave calc.exe open.
This is an example but calc.exe will be replaced with other .exe. However, Trigger still waits for calc.exe to be closed before freeing sql server. I do not want sql to wait for .exe to be closed, I want sql to continue to next record.
All ideas welcome!!
exec Master..xp_cmdshell 'c:\temp\temp.bat', no_output
Temp.bat contains the following :
@echo on
calc.exe
exit
'This will close temp.bat, but leave calc.exe open.
This is an example but calc.exe will be replaced with other .exe. However, Trigger still waits for calc.exe to be closed before freeing sql server. I do not want sql to wait for .exe to be closed, I want sql to continue to next record.
All ideas welcome!!