I`m trying to execute a shell command with arguments in C# , and "The system cannot find the file specified" is thrown.
I`ve tried:
p.StartInfo.FileName = Directory.GetCurrentDirectory() + "\\timesync\\NistClock.exe sync";
the path is correct 100% NistClock.exe gets executed when is run without the parameter "sync"