Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal enabledelayedexpansion
- if "%1"=="help" (
- echo Made by Vadim Verein
- echo This program change the case of string. To use it type A pipe B pipe C
- exit /b
- )
- if not "%1" == "" (
- echo Unknown command
- exit /b
- )
- set INPUTSTRING=
- for /F %%i in ('findstr "^"') do (set INPUTSTRING=%%i)
- CALL :LoCase INPUTSTRING
- echo %INPUTSTRING% 2>&1
- goto:EOF
- :LoCase
- FOR %%i IN ("A=a" "B=b" "C=c" "D=d" "E=e" "F=f" "G=g" "H=h" "I=i" "J=j" "K=k" "L=l" "M=m" "N=n" "O=o" "P=p" "Q=q" "R=r" "S=s" "T=t" "U=u" "V=v" "W=w" "X=x" "Y=y" "Z=z") DO CALL SET "%1=%%%1:%%~i%%"
- GOTO:EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement