Add Jetbrains Fleet to right click context menu in windows 11
özkan pakdil

özkan pakdil @ozkanpakdil

About: Software Engineer

Location:
UK, Glasgow
Joined:
Dec 28, 2019

Add Jetbrains Fleet to right click context menu in windows 11

Publish Date: Oct 27 '24
1 0

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

Enter fullscreen mode Exit fullscreen mode

looks like below context menu has open with fleet

Comments 0 total

    Add comment