Advertisement
Guest User

Untitled

a guest
Apr 21st, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. chdir /d %APPDATA%\Microsoft\Signatures\
  3. FOR %%I in (%APPDATA%\Microsoft\Signatures\*.txt) DO (
  4. del *.old 2>NUL
  5. echo %%I
  6. type %%I | findstr /b /l /v . > %%I.new
  7. ren *.txt *.old
  8. rename *.txt.new *.
  9. powershell -Command "(gc %%I) -replace [char]160, '' | Out-File %%I; (gc %%I) -replace [char]194, ' ' | Out-File %%I")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement