If the assembly and all components get moved from one folder to another folder (done by accident) in windows is there an easy way to fix it without having to browse for each file?
Temporarily add the new folder to the SOLIDWORKS search path (Tool...Options...File Locations...Search Paths). Once opened, save the assembly to make sure the new file locations are saved in the assembly.
Close the file then go to open the file but before you do so click on references. Fix the folder location for the first one and copy and past the rest in and you should be good to go.
You can't put it back?
If all of the "moved" files reside in one location, browse for one of them then you can unsuppress all that remain. If not, I'd put them back.
Highlight all the suppressed parts and hit un-suppress then a dialog box will pop up and ask you if you want to search or just keep the part suppress, do the search route and go to the folder or higher and add the file number in the search bar. If all the other components are in the same folder they will all un-suppress at the same time, just one search required..
if all the missing parts' ref in the same folder, then you only need to fix one (point the missing ref. to the correct folder) then the rest will be automatically linked to the correct parts
You said "by accident". Did you want the assembly AND all files to remain in the original folder, or just move the Assembly or just the Files.
If you want the assembly and all the files to be back at their original location and you haven't re-associated any yet, you should be able to move them all back to the original folder in Windows and then open the assembly - it should be retaining the original file path.
If you wanted the assembly to move or the files or both, to a different folder than the original, then you can follow one of the methods above.
no all files got moved
Retrieving data ...