Convert task output file to mirror folder system

I have a set of folders with sldrw files. once the file is sent to approved, convert task to auto generate a PDF. I have a "approved pdf's folder" that mirrors the production folder structure.

I found in the knowledge base S052490, but this just shows you how to move files in a parallel folders. I need the file to move file to approved folder based on file name

folder= 10000-19999

             20000-29999

             30000-39999

File= 123145

I need to have the file 123145 to move to the correct folder 10000-19999 based on filename

SolidworksSolidworks Pdm enterprise Pdm