format code for win7 using