Hi.
I have found that to get part of my program to do what i need it to do with causing proplems is to remove the file extention, do what needs to be done with the files and then put the file extention back.
Now my program checks if the files are more than eight characters long, if so then reduce them down do only eight characters.
Now the problem i have is that some times i get (Name..jpg or Name.jp.jpg), so i need to remove the extentions then replace the extentions after they have been shortend.
How would this be done?
Many Thanks
Worf
I have found that to get part of my program to do what i need it to do with causing proplems is to remove the file extention, do what needs to be done with the files and then put the file extention back.
Now my program checks if the files are more than eight characters long, if so then reduce them down do only eight characters.
Now the problem i have is that some times i get (Name..jpg or Name.jp.jpg), so i need to remove the extentions then replace the extentions after they have been shortend.
How would this be done?
Many Thanks
Worf