How can I run a bat file in C# that has the following code:
tekla_dstv2dxf.exe -cfg tekla_dstv2dxf_metric.def -m batch -f *.nc1
or alternatively replicate that code in my c# program. Using this code executes the bat file but the bat file doesn't work.
System.Diagnostics.Process.Start(@"C:\0TeklaBatchProcess\1-SCAD_Issue_Processing\DXF\tekla_dstv2dxf_metric_conversion.bat");
The bat file works fine if I double click it, just not through my program.
Thanks