Improved windows console operations