Skip to content

Instantly share code, notes, and snippets.

View zanysoft's full-sized avatar

Mubashar Ahmad zanysoft

View GitHub Profile
@zanysoft
zanysoft / open_folder_in_PhpStorm.bat
Created June 5, 2023 08:53
Add Open Folder in PHPStorm to Windows Context Menu
@ECHO off
setlocal EnableDelayedExpansion
SET PhpStormPath="C:\Program Files\JetBrains\PhpStorm 2021.3\bin\phpstorm64.exe"
IF EXIST %PhpStormPath% (ECHO File found: %PhpStormPath%) ELSE (ECHO File not found: %PhpStormPath% && CALL :LoadExeFile PhpStormPath)
SET updated=false
IF EXIST %PhpStormPath% (
reg QUERY "HKEY_CLASSES_ROOT\*\shell\PhpStorm" > nul 2> nul