[AS2, MX 2004] How to purge all Shared Objects at once?

Ive got a project with thousands of automatically generated and individually named Shared Objects.

How do I delete all these Shared Objects at once, preferably without having to delete Shared Objects that are being used by other flash-projects.

This project runs from a cd.

I do have a humungus loop that can delete all the Shared Objects, but it takes forever (couple of minutes).