Re: How to add a command to right click in Windows Explorer



I tried this, and I did see a command window pop up, but it did not compile.
I think it needs the full filename and extension passed to it. Normally, it
would be "javac helloworld.java". Is there some way to have it pass the
filename and extension?

Thanks

Jeff C

"Harlin Seritt" <harlinseritt@xxxxxxxxx> wrote in message
news:1112924184.689030.18130@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi JC,
>
> You can do it like this:
>
> 1. Pull up Explorer (My Computer or My Documents whichever).
>
> 2. At the top, click Tools and then Folder Options.
>
> 3. Click the File Types tab.
>
> 4. In the listbox choose the file type extension (for Java I guess it
> would be *.java).
>
> 5. Click the Advanced button below the listbox near the command buttons
> (OK and Cancel, Apply etc.).
>
> 6. Under the Actions listbox click the New button.
>
> 7. Under Action in the textbox type whatever you'd like the command to
> show as (Java Compile or whatever).
>
> 8. Under Application textbox type in Path to application you'd like to
> launch like c:\Path\to\Javac.exe and then an argument like -u %F. (You
> may need to run javac /? to get a list of arguments that go with it as
> well).
>
> 9. Close it out and right click a *.java file and see if it works. Let
> me know how it works!
>
> Harlin Seritt
>


.


Quantcast