I have a complex assembly and some of the parts/sub-assemblies are located in different file locations on my hard drive. What is the best way to re-save the assembly so that all parts are in the same folder location?
Use Pack & Go, but then you'll be creating a possible hazard by having duplicate files, that is a disaster if you make any changes to one of the parts....
What is wrong with the parts being in their own Folder???
You can use "Pack n Go" . This will help you save all the files into one folder.
But, this would create copies of file which you may not want.
You can try to right click the file and explore "move" command under Solidworks.
If you know where all the components are located you can just move them to the same folder as the main Assembly. SW should find them there, but just to be safe I'd recommend doing a Pack and Go of the entire Assembly to another location first so you have a backup. If it doesn't find them right away it shouldn't be too difficult to re-assign the links. After trying this, if the Assembly doesn't find the moved files, close it without saving, and then you have a couple of options. See My Drawing or Assembly can't find dependent files.
After everything is working correctly, you can delete the files you created with the Pack and Go. I'd recommend having the Assembly you're keeping open when deleting those files just to make sure you don't delete something you need to keep.
By the way, if you aren't familiar with Pack and Go, How can I create a new Assembly or Drawing similar to an existing one? should help. As others mentioned above, it's usually best not to have multiple files with the same name, but there are several options for easily changing the names of the new files, and they're described in that blog post.
The scope of pack n go is multi levels deep. You might end up collecting more than you intended. I would use “save as copy” and include references, click save referenced as copies and then choose another directory to save everything to. This just collects the references to the current document and not all the references for every component within the open document. Subtle different but can have dramatically different outcomes.
Do a 'Save As' (and I'd select 'save as copy') and navigate to the new folder you want. Towards the bottom of the 'save' pop-up you should see something about advanced save, select that. When it shows all your parts & subassemblies highlight all and make sure they point to the same folder. Now if you save, all will end up in that folder. You could delete the other files if they are no longer needed to avoid accidentally using an old part.
Retrieving data ...