How to "Save as..." all parts in Assembly

Hello! I have a Solidworks Assembly and I need to save every part in the assembly as .dwg and .sat formats. Is there any way to automatically do this instead opening part by part and exporting each one manually?

Thank you for your help!

SolidworksAssemblies