Change the settings of a console window