I have this code:
Process myProcess = new Process(); myProcess.StartInfo.UseShellExecute = true; myProcess.StartInfo.FileName = "rdpclip.exe"; myProcess.Start();
to run an exe file that is in system32
I always get an error that the system file was not found. In a Windows 2008 server.
Even if I set StartupInfo.FileName = "c: \\ windows \\ system32 \\ rdpclip.exe", it still wonβt find the file !?
It works if I put the file in another folder, but it does not start in System32. I just need to kill this process and start again, but I never thought that C # had such pain to do such a simple thing ?!
source share