I know how to get the command line info if i run my program with an argument from the command line but I want to be able to double click on the file and open with my program, how do I get he filename information that way?

Help greatly appreciated

Vista +MSVC2005