At worst I suspect you may only need to recreate the folders.
Try creating a new folder with EXACTLY the same name as a missing
one. It might just start showing the files as well and gradually
the links should repair.
I've experienced a few folders go missing but not the whole
lot.
It might help to know what prompted you to delete the CPD in
the first place.
Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.