3
Answers

SecurityException when running a .bat-file

Photo of Tobias Garberg

Tobias Garberg

13y
2.3k
1
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)