Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#311004 - 05/06/2008 20:08 Renaming doubled file names?
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Let's say I've got a user's system with a folder tree full of files that all happen to be named like this:

filename.txt.txt
othername.txt.txt
somename.txt.txt

I want to rename them using the DOS rename command. The following does NOT work:

rename *.txt.txt *.txt

Anyone know the correct way to fix this?
_________________________
Tony Fabris

Top
#311005 - 05/06/2008 20:10 Re: Renaming doubled file names? [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Never mind, found it:

rename *.txt *.
_________________________
Tony Fabris

Top