Changing File Names to UPPER or lower case

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I am looking for a way to change about 10,000 file names (MP3s) in a
directory (and sub-directorys) to UPPER CASE.

Is there a tool for doing this or can windows do this?

Many thanks
Gary
 
That software can do a lot of things so it can be a pain for just renaming
the files to uppercase. Try this :
http://www.allworldsoft.com/software/12-150-case-converter.htm

--
Ayush [ Be ''?'' Happy ]
"Ayush" <ayushmaan.j[aatt]gmail.com> wrote in message
|
http://www.herve-thouzard.com/modules/wfsection/article.php?articleid=1&sel_lang=english
|
| --
| > Ayush [ Be ''?'' Happy ]
| || Hello, I am looking for a way to change about 10,000 file names (MP3s) in
| a
|| directory (and sub-directorys) to UPPER CASE.
||
|| Is there a tool for doing this or can windows do this?
||
|| Many thanks
|| Gary
|
|
 
Type everything between the lines into notepad:

----------------------------------------------------------------------------
set fso = createobject("scripting.filesystemobject")
Function GetPath
path = WScript.ScriptFullName
GetPath = Left(path, InstrRev(path, "\"))
End Function
path2 = GetPath
folder = Left(path2, (Len(path2)-1))
set folder = fso.GetFolder(folder)
set files = folder.Files
s = ""
vCount = 0
for each file in files
vCount = vCount + 1
ReDim Preserve arFiles(vCount)
Set arFiles(vCount) = file
tempfilename = UCase(arFiles(vCount).name)
file.name = "temp" & vCount
file.name = tempfilename
next
-----------------------------------------------------------------------------

Save as UpperCaps.vbs

Put the vbs file into the same folder as the files.
Double-click to run the vbs file.
You may have to refresh the folder view to see the changes.



darkrats
 
If you want something quick and easy: (freeware)
http://www.1-4a.com/rename/

It doesn't install, just run it. In the top left corner double click on the
folders to get to your directory and then hit the "F2" key to open the
advance side.

In the bottom left where it says "First change case to..." change it to
"Upper Case" and click the start button.

It's doesn't look like much but the program can do anything you want in
renaming files. (website has examples)

Sam
 
Back
Top