Tuesday, January 20, 2015

Modify Windows Control Panel Settings from command-line

I recently discovered that many Control Panel settings in windows can be opened from command-line. The article from Microsoft How to run Control Panel tools by typing a command explains.

Windows Command line shortcut to set Environment Variables


In order to invoke the System window and later set the Environment variables, the below command-line could be handy. It will avoid some mouse-clicks :)

C:\windows\system32>control.exe sysdm.cpl,System,3



The above command can also be saved into a bat file and placed conveniently on Windows Desktop.