Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

DOS Sort+Add Sequence number+Remove Sequence number

Hi

I want to edit a folder with 3500 .wma music files(records). Can someone please give me the exact DOS CMD Commands to -
a) Sort the folder alphabetically
b) Add a Sequence number in front of each music record's filename
(at this point I want to edit the folder's records - remove, repair and load back the one's with problems)
c) Remove the Sequence numbers

Thank-you very much

Hennie
 
1)
dir /b /o:n *.wma > wma.lst
2)
set /a %num=1
for /f %fn in (wma.lst) (ren "%fn" "%[num]%[fn]" & set /a %num=%num + 1 )
3)
edit the records as needed/wanted
4)
not sure here....
 
Back
Top