Download this
zip file.
Within it is a DOS executable called fcase.exe. Put it in your system path so it can be called from any location.
You use it (at DOS) by passing it a filename and /u for uppercase or /l for lowercase. If you don't give it the /u or /l parameter it assumes uppercase.
If you pass it no arguments or include a /h or /? (or pass both /u and /l) it will display this little help screen:
Syntax: FCASE filename.ext [/u] [/l]
/u = upper case (the default)
/l = lower caseSo, within a batch file you might use it like this to rename all the AutoCAD drawings in the current directory to uppercase:
for %%f in (*.dwg) do fcase.exe %%f /uOr at the DOS command line:
for %f in (*.dwg) do fcase.exe %f /uDo note that you need double percent signs (%%) when using the DOS FOR command in a batch file; at the command line only single percent signs are required.The DOS FOR command is quite flexible and will allow you to process child directories recursively; I'll let you do some reading (I gotta call it quits here tonight).
Test it out on some dummy files first, it was written and tested pretty quick under WinXP Pro; I don't claim to be the brightest bulb this evening.DOS Command line example:for %f in (*.dwg) do fcase.exe %f /u
fcase.exe Blocks and Tables - Imperial.dwg /u
=> BLOCKS AND TABLES - IMPERIAL.DWG
fcase.exe Blocks and Tables - Metric.dwg /u
=> BLOCKS AND TABLES - METRIC.DWG
fcase.exe Colorwh.dwg /u
=> COLORWH.DWG
fcase.exe DB_Samp.dwg /u
=> DB_SAMP.DWG
fcase.exe Hotel Model.dwg /u
=> HOTEL MODEL.DWG
fcase.exe Hummer Elevation.dwg /u
=> HUMMER ELEVATION.DWG
fcase.exe Lineweights.dwg /u
=> LINEWEIGHTS.DWG
...