Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal
- set name=%1
- for /f "usebackq delims=" %%a in ("%~1") do (
- for %%i in (%%a) do (
- set /a #%%i+=1 2>nul
- )
- )
- for /f "delims=#" %%a in ('set #') do (
- echo %%a
- )
- endlocal
Advertisement
Add Comment
Please, Sign In to add comment