-ATTACH command
Attaches Xrefs, images, or PDF files in the current drawing via Command line.

Method
Specify the path of the file you want to attach.
Note: The -ATTACH command unifies the -XATTACH, -IMAGEATTACH, and -PDFATTACH commands. See also the related articles.