how to execute "script" file in AutoCAD ?

As a example file

  1. Step 1:

    Write the command as it is understood by AutoCAD in the file. For example:- You have to plot a sphere, so you should write a command as below sphere 0.432305644,0,0.166679396 0.001. Here, sphere is a command understood by AutoCAD as the user wants to plot a sphere. The three values separated by comma represents the co-ordinates of origin of sphere. The last value 0.001 represents the radius of the sphere which is separated by space. Note: There should not be a space after last constant you entered in script file.