I have a whole directory of that my program needs to rename.

This is a sample of what the files look like, they all have different names, but I need to retain the first 8 characters an the last 3 (extension).

1573-001111.doc
1822-309369.doc
etc...

I have seen somewhere on how to rename files by stripping out unnessary text, I don't remember where or what to do.

Thanks,
Mike