REM CONVERT STRING TO UPPERCASE
set LC=hello sailer
echo %LC%
FOR /F "tokens=2 delims=-" %%A IN ('FIND "" "%LC%" 2^>^&1') DO SET UpCaseText=%%A
set LC=%UpCaseText:~1,999%
SET UpCaseText=
echo New string is now: %LC%
This uses the fact that the FIND command always reports the search string back in uppercase!
notes: make sure you use ^ and ' if cutting and pasting to notepad!
 Suggested improvement by Scott to allow for strings with hyphens..
REM CONVERT STRING TO UPPERCASE
set LC=hello sailer-complete sentence with-hyphens
echo %LC%
FOR /F "tokens=1* delims=-" %%A IN ('FIND "" "%LC%" 2^>^&1') DO SET UpCaseText=%%B
set LC=%UpCaseText:~1,999%
SET UpCaseText=
echo New string is now: %LC%