Here the CMD file itself
cmd /k magick "path\Abaribion.png" -alpha off -statistic StandardDeviation 5x5 -fill White +opaque Black -format "%f, %[fx:mean]" info: >> "path\test.txt"
When I start this CMD file as process as below
var psInfo = new ProcessStartInfo("complex.cmd");
var vrProcess = Process.Start(psInfo);
vrProcess.WaitForExit();
It appears like this how to escape %