3
Answers

SecurityException when running a .bat-file

I'm trying to run a -bat-file from this code:

System.Diagnostics.

I get SecurityExeption was unhandled, why? I'm running Visual studio Express on Win7.

Thanks


Process.Start(@"C:\Projekt\Device1On.bat");
Answers (3)