V8i - Remove References Without Opening The File

Is there a way to remove all of the references in a file without opening said file?

I have to remove all of the referecnes from many files and it gets annoying opeing each file, detaching the references, and the closing the file.

I searched the forums but could not find a solution to anything similiar to this issue.

Thank you!