1.

Solve : renaming files with file names from a text file??

Answer»

hey how would i do this , i have FILENAMES in text a.. witch are .mp3 file names, and i have file names in text b with has .OGG file names , i need to rename the mp3s in the folder to the .ogg files.. You have

text file a
songA.mp3
songB.mp3
songC.mp3
(etc)

text file b
song01.ogg
song02.ogg
song03.ogg
(etc)

Plus a folder of mp3s??? You are not being very clear.

You want to rename songA.mp3 to song01.mp3? Is that right? If not, what do you want to do?





im trying to rename some .ogg music files with random mp3 files from my computer..
then copy them to the location, this is what i have figured out so far.. i guess i also need to know how to SEARCH for *.mp3s using dir, but making it only output the filename.. cause i do , dir *.mp3 /b /s >1.txt , &
FOR /F "eol=; tokens=1,6* delims=," %i in (1.txt) do rename *.mp3 %i %J %k , and its not working because in 1.txt it says C:\music\ect... i also got to figure out how to only move the 6 mp3 files i need out of the list of hundreds of mp3 files.. any ideas?


Discussion

No Comment Found