Add Jetbrains Fleet to right click context menu in windows 11

Jetbrains fleet is a new editor, it is kind of vscode competitor, and little bit faster then other IDEA and VScode so I wanted to ahve it in the context menu. @echo off setlocal enabledelayedexpansion :: Set the path to your Fleet executable using %USERPROFILE% set "FLEET_PATH=%USERPROFILE%\AppData\Local\Programs\Fleet\Fleet.exe" :: Check if running with admin privileges net session >nul 2>&1 if %errorLevel% neq 0 ( echo This script requires administrator privileges. echo Please run it as an administrator. pause exit /b 1 ) :: Add Fleet to context menu reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\Fleet" /ve /d "Open with Fleet" /f reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\Fleet\command" /ve /d "\"%FLEET_PATH%\" \"%%V\"" /f reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\Fleet" /v "Icon" /d "%FLEET_PATH%" /f echo Fleet has been added to the context menu. echo Please restart File Explorer or your PC for changes to take effect. pause looks like below ...

July 15, 2024 · 1 min · Özkan Pakdil