I have used a player in my application, which will play wmv format files. . Whenever we double click on the wmv files , My Application runs . I want to get the double clicked wmv files name in my application , because it is a OS element and I dont know how to access it . I can get the application path using GetApplicationPath() . I'm working on VC++ 6.0 MFC Please anyone help me out ..