lower-case a string given as an argument.
echo>%1 dir /b/l %1>lower.tmp set /p result=<lower.tmp echo %result%
Saving this as lower.bat, I run
lower "HELLO WORLD"
and get
hello world
as a result
12374 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
echo>%1 dir /b/l %1>lower.tmp set /p result=<lower.tmp echo %result%
lower "HELLO WORLD"
You need to create an account or log in to post comments to this site.