3
Reply

SecurityException when running a .bat-file

Ask a question
Tobias Garberg

Tobias Garberg

13 years ago
2k
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)