Custom directory path for files uploaded via "attach" field type

In a custom doctype, I have “attach” field types to upload specific documents. I want those documents to be stored in a specific place in the file manager. Is there a way to edit the “attach” field type to have it that way. Thank You.

Does anyone have an update on this?

I have the Same Problem. Please help us. I am proving the below link.

Thank you.

Is there any solution ?

Thanks and Regards