parkball2 Posted June 5, 2006 Share Posted June 5, 2006 I'm trying to rename some MP3s (thousands). Some of the filenames are in CAPS and some are in lower case. I would like to make them all the same. For Example: LIGHT MY FIRE.mp3 and with or without you.mp3 should be: Light My Fire.mp3 With Or Without You.mp3 anyone know a way? J Link to comment Share on other sites More sharing options...
Uten Posted June 5, 2006 Share Posted June 5, 2006 FIleFindFirst, FileFindNext, StringLower should get you going. They are all in the help file (at least in the beta) Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Daniel W. Posted June 5, 2006 Share Posted June 5, 2006 (edited) #include <string.au3> $search = FileFindFirstFile("*.mp3") While 1 $file = FileFindNextFile($search) If @error Then ExitLoop FileMove ( Filegetlongname($file) , "C:\" & _StringProper( $file ) , 1) WEnd FileClose($search) here it is I dunno if this works cuz i can't test it... Edited June 5, 2006 by Daniel W. --------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now