In AutoCAD, type OPTIONS , navigate to the Files tab, and expand Support File Search Path . Note the folder directory listed there.
HatchKit is widely considered one of the best tools for converting DXF files to PAT files. It provides a user-friendly graphical interface to import, edit, and refine your pattern before exporting it.
If you are working on a specific design right now, let me know: What and version are you using?