On Windows, in order to open a folder in Cursor from File Explorer, you have to set up the context menu options in the registry. This repository contains .reg files that automate the process of adding "Open with Cursor" context menu options to File Explorer.
-
Open from Folder Background: Adds an "Open with Cursor" option when you right-click on the background of a folder (i.e., not on a specific file or subfolder).
-
Open from Folder in Tree/Details Pane: Adds an "Open with Cursor" option when you right-click on a folder in the navigation tree or the details pane.
Windows 11 introduced a new streamlined context menu. You can install the context menu option for either the new Windows 11 menu, the classic menu (accessible via "Show more options"), or both.
This option adds "Open with Cursor" to the modern Windows 11 streamlined context menu that appears by default.
-
Download the
.regfiles:-
add-command-to-folder-background-win11.reg -
add-command-to-folder-in-tree-win11.reg
-
-
Double-click each
.regfile: Windows will ask for confirmation to merge the information into the registry. Click "Yes" to proceed. -
Confirm: A confirmation message will appear indicating that the keys and values have been successfully added to the registry.
This option adds "Open with Cursor" to the classic Windows context menu, accessible by clicking "Show more options" in the Windows 11 context menu, or directly in older versions of Windows.
-
Download the
.regfiles:-
add-command-to-folder-background.reg -
add-command-to-folder-in-tree.reg
-
-
Double-click each
.regfile: Windows will ask for confirmation to merge the information into the registry. Click "Yes" to proceed. -
Confirm: A confirmation message will appear indicating that the keys and values have been successfully added to the registry.
You can install both options simultaneously to have "Open with Cursor" appear in both the new Windows 11 menu and the classic menu. Simply run all four installation .reg files.
If you prefer to always use the classic context menu and disable the new Windows 11 menu entirely, you can use this registry hack. This makes the classic menu appear directly without needing to click "Show more options".
Important: This disables the new Windows 11 streamlined menu system-wide. If you use this approach, you only need the classic registry files (Option 2), not the Windows 11-specific ones.
-
Disable the new Windows 11 menu: Double-click
enable-classic-menu-always.regand confirm the registry merge. -
Restart Windows Explorer: Restart File Explorer to apply the change. You can do this by:
-
Opening Task Manager (Ctrl+Shift+Esc)
-
Finding "Windows Explorer" in the processes list
-
Right-clicking and selecting "Restart"
-
Or simply restart your computer
-
-
Install the classic menu files: Follow the instructions in "Option 2: Classic Context Menu" above. The classic menu will now appear directly when you right-click.
To revert (restore the new Windows 11 menu): Double-click disable-classic-menu-always.reg and restart Windows Explorer as described above.
After installation, you can use the new context menu options:
-
Open Current Directory: Navigate to any folder in Windows Explorer. Right-click on an empty space within the folder. You will see an "Open with Cursor" option. Clicking it will open that folder in Cursor.
-
Open Specific Folder: Right-click on any folder icon (either in the navigation tree on the left or in the details pane on the right). You will see an "Open with Cursor" option. Clicking it will open that specific folder in Cursor.
-
Download the
.regfiles:-
remove-command-to-folder-background-win11.reg -
remove-command-to-folder-in-tree-win11.reg
-
-
Double-click each
.regfile: Windows will ask for confirmation to merge the information into the registry. Click "Yes" to proceed. -
Confirm: A confirmation message will appear indicating that the keys and values have been successfully removed from the registry.
-
Download the
.regfiles:-
remove-command-to-folder-background.reg -
remove-command-to-folder-in-tree.reg
-
-
Double-click each
.regfile: Windows will ask for confirmation to merge the information into the registry. Click "Yes" to proceed. -
Confirm: A confirmation message will appear indicating that the keys and values have been successfully removed from the registry.