

Regwrite, REG_SZ, HKEY_CLASSES_ROOT, https\DefaultIcon,"%BrowserEXEPath%"`,0 Regwrite, REG_SZ, HKEY_CLASSES_ROOT, https\shell\open\command,"%BrowserEXEPath%" -url "`%1"

Regwrite, REG_SZ, HKEY_CLASSES_ROOT, https,URL:HyperText Transfer Protocol with Privacy Regwrite, REG_SZ, HKEY_CLASSES_ROOT, InternetShortcut\shellex\ContextMenuHandlers\ Regwrite, REG_SZ, HKEY_CLASSES_ROOT, InternetShortcut,Internet Shortcut Regwrite, REG_SZ, HKEY_CLASSES_ROOT, InternetShortcut,NeverShowExt, RegDelete, HKEY_CLASSES_ROOT, InternetShortcut Regwrite, REG_SZ, HKEY_CLASSES_ROOT, MyHTMLFile\DefaultIcon,"%BrowserEXEPath%"`,0 Regwrite, REG_SZ, HKEY_CLASSES_ROOT, MyHTMLFile\shell\open\command,"%BrowserEXEPath%" -url "`%1" Regwrite, REG_SZ, HKEY_CLASSES_ROOT, MyHTMLFile,%BrowserEXEName% Regwrite, REG_SZ, HKEY_CLASSES_ROOT, MyHTMLFile,URL Protocol, MsgBox, ,DefaultBrowserInRegistry ERROR, Does not seem like correct path, could not correctly find EXE extension.`n`nDEBUG REPORT`nBrowserEXEPath is %BrowserEXEPath%`nBrowserEXEName is %BrowserEXEName%`nExtensionCheck is %ExtensionCheck% SplitPath, BrowserEXEPath,, , ExtensionCheck, BrowserEXEName MsgBox Cancelled, Nothing written to registry.
Set default program to open file registry full#
InputBox, BrowserEXEPath, Set Default Browser In Registry, Type the full path to the location of your Portable Browser EXE (without quotes)`, example: D:\PortableApps\GoogleChromePortable\GoogleChromePortable.exe,, 600 Silent mode example: DefaultBrowserInRegistry.exe "D:\PortableApps\GoogleChromePortable\GoogleChromePortable.exe"īrowserEXEPath = %1% Get the first parameter Will run in silent mode if argument passed to it on command line. If no command line arguments will show GUI.
