You either need to upgrade your Windows because it seems that your command line does not support the custom print arguments. Copy pasted your code to my Visual Studio and it works just fine.