There needs to be more information provided:
Can any one tell me how to pass value to command prompt of AutoCAD drawing from vb6
Yes I can but I need to know what value, and in what context. Otherwise I am wasting time and guessing.

The drawing which I want to pass value is not saved
I am not sure this matters but since i have no idea what you are trying to do ............................