1st go to google search "add open with sublime text 3
2nd you can see openwithsublimetext3.bat code. code is here:
4th which computer is 64 bit you can see a folder name Program Files(x84). open this folder see sublime folder if not then find Program Files also and copy this path
5th go to text file and change the path see
2nd you can see openwithsublimetext3.bat code. code is here:
@echo off SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe rem add it for all file types @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f rem add it for folders @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f pause3rd create a text file and pest this code. and you must change the format .txt to .bat
4th which computer is 64 bit you can see a folder name Program Files(x84). open this folder see sublime folder if not then find Program Files also and copy this path
5th go to text file and change the path see
6th change this file format from .text to .bat and save it. see
7th click on the file you can see this cmd popup. see
just press any key. But problem is access denied because in my case i have saved this file on c drive desktop, so right click on .bat file and click on run to administrator you can see it's successfully see
now it will be work see
Thank you.
0 comments:
Post a Comment