sundip -3 Junior Poster

Hi All
I am trying to create an add-in for VS2008. As i am new to MS env. Can you tell me :- :?:
1) How to get the full file name/path of currently active file in VS2008.
2) How to execute command prompt from VS 2008 add-in code and get the handler of that.

Thanks in advance .