supadodger Posted September 5, 2010 Posted September 5, 2010 (edited) i know how to create my array and all that using the directory i just want to remove 3 characters from every file after i select the directory... i found this : http://www.autoitscript.com/forum/index.php?showtopic=99339&st=0&p=713322&hl=FileRename%20Remove%20Characters&fromsearch=1&#entry713322 but it seems more complicated than what i need... Edited September 5, 2010 by supadodger
supadodger Posted September 5, 2010 Author Posted September 5, 2010 quick example worked fine for me : $file = "01-JADAKISS - U STILL HATIN (Free HQ Mp3).avi" $file = StringTrimLeft($file, 3)
legoman1 Posted September 5, 2010 Posted September 5, 2010 try filefindfirstfile and filefindnextfile to get each file name,use stringtrimleft to remove the left 3 characters,then use filemove to rename each file.your example merely stripped the left the left 3 characters from your variable, not your file name.btw im not gonna write it for you.legoman
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