>Hi Nishit,
>
>> I have writting program for browsing files with some utilities. I wanted that program should come in right click menu in explorer with delete/rename etc options. How can i do that.
>
>If I understand you correctly, you want to have a menu item in the explorer right click menu for certain file types that calls your browser, right? In this case in Explorer go to View|Folder Options|File Types. Select the desired file extension and click on Edit.
>
>In the dialog that appears now, select "New..." and enter the text that should appear in the rightclick menu. In the program line enter the name and full path of your application (EXE) and add the following to it: "%1" (including quotes and separated with a blank from the application name). Whenever the user rightclicks on a file with this type and chooses your menu item, your application is called and receives the name of the file as the first paramter.
>
>All these information are stored in the registry, so you can create those entries programmatically on your clients machines, as well.
Unless each action has a unique executable associated with it, he'll also have to include a parameter that his app can sense to know what action to perform.
If it's a VFP app, it's best to encapsulate the %1 in quotes; VFP parses the incoming command line and will treat spaces embedded in a file name substituted for %1 as separators unless quote encapsulated.