I've been fooling around with the Windows "for" command to try to get some effective batch renaming going but am coming up short. Basically, I have a folder of files w/ extensions .jpg.jpg and want to change them all to just .jpg . I know in unix this would be mv *.jpg *, but with windows I've found no such luck. Something like:
for %I in (*.jpg) do rename %I.jpg %I
doesn't actually work because %I takes on the whole filename INCLUDING the .jpg in *.jpg . Any ideas?
I know other software can do this kind of stuff but it would be nice to be able to do it command line. *
-andy
*On that note, can anyone recommend a good FREE batch file renamer with wildcards
for %I in (*.jpg) do rename %I.jpg %I
doesn't actually work because %I takes on the whole filename INCLUDING the .jpg in *.jpg . Any ideas?
I know other software can do this kind of stuff but it would be nice to be able to do it command line. *
-andy
*On that note, can anyone recommend a good FREE batch file renamer with wildcards