How to search and rename in filenames in Windows
Using vbscript u can do multiple files replace existing string
----------------------------------------------------------
Set objFso = CreateObject("Scripting.FileSystemObject")
Set Folder = objFSO.GetFolder("E:\SOFTWARES\WAV_Files\1\xxx")
For Each File In Folder.Files
sNewFile = File.Name
sNewFile = Replace(sNewFile,"24bit","32bit")
if (sNewFile<>File.Name) then
File.Move(File.ParentFolder+"\"+sNewFile)
end if
Next
Comments
Post a Comment