Error: "The incorrect parameter" Java application using Windows context menu link
<p>I am trying to make a sample <strong>java</strong> program that will run with windows context menu link.
Using <strong>Advanced Installer</strong>, i have installed my application and added a <strong>context menu link</strong>.
My sample application is to delete a file using context menu link.</p>

<p>When i try to delete the file using my context menu link, it shows me an error </p>

<p><strong>"This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an assocaition in 
the Default Programs Control Pannel.".</strong></p>

<p>My shell entry is here:</p>

<p>Value name is "<strong>path</strong>" and value data is <code>"**C:\Program Files\context\context.exe" "%1**"</code>.</p>

<p>My application's code is here: </p>

<pre><code>package context.test;

import java.io.File;

public class ContextTest {
    public static void main(String[] args) {
        for (String a : args) {
            File f=new File(a);
            f.delete();
        }
    }
}
</code></pre>
