TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: JASEN BETTS
from: GORD MC.PHERSON
date: 1998-04-09 15:00:00
subject: Re: uppercase directories

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.