Advertisement
npocmaka

setsmiles

May 10th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. rem -- set the two smiles and the heart characters to a variables --
  3. rem -- by Vasil "npcomaka" Arnaudov
  4. chcp 1252
  5. for /f "delims= " %%A in ('type %windir%\inf\winusb.PNF') do (
  6.     set line=%%A
  7.     goto :end_for
  8. )
  9. :end_for
  10. set "line="
  11. set smile=%line:~0,1%
  12. set heart=%line:~1,1%
  13. set zmile=%line:~2,1%
  14.  
  15. echo %smile% %heart% %zmile%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement