Skip to content

Instantly share code, notes, and snippets.

View FawzyMokhtar's full-sized avatar
🎯
coding

Fawzy Mokhtar FawzyMokhtar

🎯
coding
View GitHub Profile
@FawzyMokhtar
FawzyMokhtar / webstorm.bat
Created August 13, 2018 09:25
Add context menu to Windows to open File/Folder in WebStorm
@echo off
SET WebStormPath=<Webstorm.exe path>
echo Adding file entries
@reg add "HKEY_CLASSES_ROOT\*\shell\WebStorm" /t REG_SZ /v "" /d "Open w&ith WebStorm" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\WebStorm" /t REG_EXPAND_SZ /v "Icon" /d "%WebStormPath%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\WebStorm\command" /t REG_SZ /v "" /d "%WebStormPath% \"%%1\"" /f
echo Adding folder entries