Wacky_rubia

dicW

Jan 18th, 2014
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.19 KB | None | 0 0
  1. @echo off
  2. setlocal
  3. set name=%1
  4. for /f "usebackq delims=" %%a in ("%~1") do (
  5.     for %%i in (%%a) do (
  6.         set /a #%%i+=1 2>nul
  7.     )
  8. )
  9. for /f "delims=#" %%a in ('set #') do (
  10.     echo %%a
  11. )
  12. endlocal
Advertisement
Add Comment
Please, Sign In to add comment