But this gives me an error:
System.Diagnostics.Process.Start("d:\batch\myalert .bat
test_message 4 Open")
Assuming that "test_message 4 Open" are all supposed to be command-
line arguments you must call start as -
System.Diagnositcs.Process.Start("d:\batch\myalert .bat", "test_message
4 Open")
As you are calling it now, the first argument is what needs to be
run. The extra command line arguments are not seen as arguments but
as part of the program name. Check MSDN if you need more detailed
help.