Jragon Posted July 7, 2011 Share Posted July 7, 2011 Hi! I really really need some help... Do you know how I could do a batch file rename. I need to rename all .JPG files to .jpg... I've tried: <?php $cmd =<<<STUFF rename 'y/A-Z/a-z/' * STUFF; system($cmd); echo "Hopefully that would have worked."; ?> I have no idea what so ever! What shall I do :S Quote Link to comment https://forums.phpfreaks.com/topic/241331-batch-extension-rename-in-php/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.