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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -