Before saving the file containing your DCL, consider the fact that AutoCAD® must be able to locate your DCL file during runtime. For this reason, the file must be placed in one of the AutoCAD Support File Search Path locations. (If you are unsure about these locations, choose Tools Options from the AutoCAD menu and examine the Support File Search Path locations under the Files tab.)
- Choose File Save As from the VLISP menu.
- In the Save As Type field of the Save As dialog box, choose DCL Source Files from the pull-down menu.
- Change the Save In path to <AutoCAD directory>\Support.
- Enter the file name gpdialog.dcl.
- Choose Save.