You maybe don't need a batch file :-
Process myprocess = new Process();
myprocess.StartInfo.FileName = @"C:\WHERE_EVER\bcdedit.exe";
// I dont know the exact switch, but im sure you would be able to work this out.
myprocess.StartInfo.Arguments = @"Install PortName=COM50 -set TESTSIGNING OFF";
myprocess.Start();