KapnJackSparrow's three commands worked great for me, just cut and paste into a command window. Some programs ran or gave messages for the third command, just closed or ignored. ran up speccy all fine.
If you want to make it a batch file then you need to use %% in place of a single %.