Easily restore the missing "Open with VS Code" option to the Windows 10 context menu for files, folders, desktop background, and empty areas inside directories or drives.
- Adds "Open with VS Code" to:
- Files
- Folders
- Desktop background
- Empty areas inside folders or drives
- Includes VS Code icon for better visibility
- No external dependencies — just run the script as Administrator
- Works on Windows 10
- Easy to remove by deleting registry keys
- Windows 10
- Visual Studio Code installed in the default User path:
If VS Code is installed in a different location, update the script path accordingly.
- Download files.
- Right-click in the file install_context_menu.bat and select Run as administrator.
- Wait for the script to finish — Windows Explorer will restart automatically.
- Right-click anywhere (file, folder, desktop, or empty space) and you will see Open with VS Code.
Mahmoud Abuyoussef