|
-
Oct 1st, 2014, 07:38 PM
#1
Thread Starter
Frenzied Member
Creating Custom URI - Windows 7
I am new to creating Custom URI Schemes and I am trying to launch an executable jar file using URI Schemes in a Windows 7 system..
For running this jar file from command prompt, I use this command:
For launching the same using the Custom URI Scheme, I created a ".reg" file with the below entry:
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\DemoStart]
"URL Protocol"=""
[HKEY_CLASSES_ROOT\DemoStart\shell]
[HKEY_CLASSES_ROOT\DemoStart\shell\open]
[HKEY_CLASSES_ROOT\DemoStart\shell\open\command]
@="java -jar C:\Users\John\Desktop\demo.jar"
But when I try to run this from IE using the Custom URI names nothing happens in the "Internet Explorer 9" browser. In "Firefox browser", a pop-up window for "Launch Application" appeared but on click of "Ok" button nothing happened.
Please guide me how to launch the executable JAR using this custom URI scheme.
Last edited by gautamshaw; Oct 1st, 2014 at 10:45 PM.
If you find my reply helpful , then rate it
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|