I want to create a registry key for a webcal link so that it can open external programs from IE or Firefox. I tried creating a registry file following these links:
http://msdn2.microsoft.com/en-us/library/aa767914.aspx
http://blogs.msdn.com/noahc/archive/2006/10/19/register-a-custom-url-protocol-handler.aspx
When I created the file and named it webcal.reg, I get the error message: The specified file is not a registry script. You can only import binary registry files from within the registry editor.
this is the reg file I used: named webcal.reg
--
[HKEY_CLASSES_ROOT]
[webcal]
(Default) = "URL:Webcal Protocol Handler"
URL Protocol = ""
[DefaultIcon]
(Default) = "sunbird.exe
[shell]
[open]
[command]
(Default) = "E:\Program Files\Mozilla Sunbird\sunbird.exe "%1""
--
and I created a batch file
--
@echo off
regedit /s webcal.reg
pause
--
batch file wouldnt have worked anyways.
So I got this far but now I am stuck.
http://msdn2.microsoft.com/en-us/library/aa767914.aspx
http://blogs.msdn.com/noahc/archive/2006/10/19/register-a-custom-url-protocol-handler.aspx
When I created the file and named it webcal.reg, I get the error message: The specified file is not a registry script. You can only import binary registry files from within the registry editor.
this is the reg file I used: named webcal.reg
--
[HKEY_CLASSES_ROOT]
[webcal]
(Default) = "URL:Webcal Protocol Handler"
URL Protocol = ""
[DefaultIcon]
(Default) = "sunbird.exe
[shell]
[open]
[command]
(Default) = "E:\Program Files\Mozilla Sunbird\sunbird.exe "%1""
--
and I created a batch file
--
@echo off
regedit /s webcal.reg
pause
--
batch file wouldnt have worked anyways.
So I got this far but now I am stuck.