problem changing filenames

2003-08-14 Thread David Smith
Hi, I have a couple of problems. I have multiple files on a server that are all audio files. Some are mp3, some are waves. I need to change there names because of a new automation system being put in here at the station. The files are curretly laid out with a series of numbers+songtitle+artist+tim

Re: problem changing filenames

2003-08-14 Thread David Smith
Here is a sample filename: 0508+GREATER VISION+SCARS & STRIPES+00.0.MP3. I noticed after I emailed it that the number code has exactly 11 numbers (besides the 3 in mp3), so I created a do...while loop to take out the numbers. The expression I used looked like this //[0-9]// then the directory /

Re: problem changing filenames

2003-08-14 Thread Jeff 'japhy' Pinyan
On Aug 5, David Smith said: > I have a couple of problems. I have multiple files on a server that are >all audio files. Some are mp3, some are waves. I need to change there >names because of a new automation system being put in here at the >station. The files are curretly laid out with a series of

Re: problem changing filenames

2003-08-06 Thread Jeff 'japhy' Pinyan
On Aug 5, David Smith said: >On Tue, 2003-08-05 at 09:37, Jeff 'japhy' Pinyan wrote: >> You didn't show us how you tried running the program. I'll show you first >> how to change the +'s to _'s. But I need to know WHICH numbers should be >> removed from the filename. All of them (except for the