This project provides a simple way to add and remove a context menu item in Windows Explorer for opening directories with the Cursor application.
To install the context menu item, run the install
executable. By default, it will use the path C:\Users\%USERNAME%\AppData\Local\Programs\cursor\Cursor.exe
for the Cursor application. You can also provide a custom path to the Cursor executable as a command-line argument.
I used MinGW to compile this project, but you can use any other compiler that supports C++. Example commands:
g++ -o install install.cpp -static
g++ -o uninstall uninstall.cpp -static
To use the context menu item, follow these steps:
-
Download the Executables:
- Visit the releases page of this project.
- Download the
install.exe
anduninstall.exe
files from the latest release.
-
Install the Context Menu Item:
- Run the
install.exe
file. - By default, it will use the path
C:\Users\%USERNAME%\AppData\Local\Programs\cursor\Cursor.exe
for the Cursor application. - If you want to use a custom path for the Cursor executable, provide the path as a command-line argument when running
install.exe
. - You can also provide the command-line argument
-a
to install the context menu item for all files, not just directories.
- Run the
-
Uninstall the Context Menu Item:
- Run the
uninstall.exe
file to remove the context menu item.
- Run the