IE toolbar button runs bat or PS script. works one time then doesn't anymore.

clovisc

New member
Joined
Apr 30, 2013
Messages
1
Programming Experience
1-3
Hi,
I have an IE toolbar with a button that runs a bat script with Process.Start. I tried also with a PS script.
When I open IE, the button works. As soon as I navigate to another address or open a new tab, it fails running the script.
I think it has to do with the toolbar restarting each time I navigate to a new address or open a new tab.
private void assign_Click(object sender, EventArgs e)
{
Process.Start("c:\\users\\ccormeni\\Documents\\scripts\\openoneinc.bat");
}Any help appreciated.
Clovis
 

Latest posts

Back
Top Bottom