process - How do I execute command in c#? -
i want execute command call microphone config.
control mmsys.cpl,,1
i try following code throw win32exception, system cannot find file specified.
process.start("control mmsys.cpl,,1");
it should be:
process.start("control","mmsys.cpl,,1")
documentation: http://msdn.microsoft.com/en-us/library/h6ak8zt5.aspx
Comments
Post a Comment