Page 1 of 1

How to change filenames?

Posted: Tue Mar 15, 2005 12:05 pm
by higgledy
I want to change all file names in the same directory. Can I do this with WildEdit? If so, how can I change all filenames with uppercase characters to lowercase? Can someone please give me an example?

thanks, Phil

Posted: Tue Mar 15, 2005 4:46 pm
by s_reynisson
You can not rename files using WE, you could try one of the many freeware file-renamers here.

Posted: Wed Mar 16, 2005 2:28 pm
by higgledy
Thanks!

Posted: Wed Mar 16, 2005 4:19 pm
by talleyrand
An alternative suggestions is to simply do something like drop to a DOS window, dir /b > fileNameFix.bat

That file (fileNameFix.bat) would look like
databases.tex
establishingFtpW2k.tex
fortisOutput.tex
fortisSampleReport.tex
homework2.tex
itNotes.tex
sampleElvish.tex
simpleSearch.tex

Then write a macro to make it copy the current word, prepend "move " to the line, append the clipboard contents and then apply an uppercase to it (perhaps skipping the file extension). Apply to all lines, inspect it and then run the batch file.

move databases.tex DATABASES.tex
move establishingFtpW2k.tex ESTABLISHINGFTPW2K.tex
move fortisOutput.tex FORTISOUTPUT.tex
move fortisSampleReport.tex FORTISSAMPLEREPORT.tex
move homework2.tex HOMEWORK2.tex
move itNotes.tex ITNOTES.tex
move sampleElvish.tex SAMPLEELVISH.tex
move simpleSearch.tex SIMPLESEARCH.tex