- @echo off
- set "BrowserPath=D:\Program Files\TheWorld 3\TheWorld.exe"
- set FileType=htmlfile mhtmlfile http https ftp file InternetShortcut
- for %%a in (%FileType%) do (
- reg add hkcr\%%a\shell /ve /d open /f
- reg add hkcr\%%a\shell\open\command /ve /d "\"%BrowserPath%\" %%1" /f
- )
复制代码
|