Greeting Jasen,
JB> ...rename all the directories so they are uppercase :) and the files as
JB> lowercase.
JB>
JB> global for /ad x in (*.*) do ren %X /S %@upper[%x]
JB> global for /a-d x in (*.*) do ren %X %@lower[%x]
JB> etc...
Your examples are close but require a little tweaking to function. Try
the following:
global for /a:d %x in (*.*) do ren "%x" /s %@upper["%x"]
global for /a:-d %x in (*.*) do ren "%x" %@lower["%x"]
The bonus with these is by enclosing the %x variable in quotes, you can
handle Windows95's longfile names.
-- Gord Mc.Pherson OpusNorth Bulletin Board System
... A kid with a hammer will find that everything he sees needs pounding.
--- Telegard v3.02
---------------
* Origin: OpusNorth BBS * Toronto, Ontario * (1:2424/217)
|